1
0

Fixed incorrect setting name in setting change toast (fixes #61)

This is a regression in v0.2.0 from cb2caff551.
This commit is contained in:
Patrick Gaskin
2020-07-03 13:42:13 -04:00
parent ec8c685e1f
commit 13e9485e31

View File

@@ -309,7 +309,7 @@ NM_ACTION_(nickel_setting) {
Settings_SettingsD(settings);
NM_RETURN_OK(strcmp(arg2, "invert") // invert is obvious
? nm_action_result_toast("%s %s", v ? "disabled" : "enabled", arg1)
? nm_action_result_toast("%s %s", v ? "disabled" : "enabled", arg2)
: nm_action_result_silent());
#undef NM_ERR_RET
}