new dev bug: fixed incorrectly swapped preference title and summary strings
This commit is contained in:
parent
71bbd6fd3f
commit
43e768bfeb
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,8 @@ public class QuickSwitchLanguagePreference extends SwitchPreferenceCompat {
|
||||||
private void init(Context context) {
|
private void init(Context context) {
|
||||||
setDefaultValue(true);
|
setDefaultValue(true);
|
||||||
setKey("pref_quick_switch_language");
|
setKey("pref_quick_switch_language");
|
||||||
setTitle(R.string.pref_quick_switch_language_summary);
|
setTitle(R.string.pref_quick_switch_language);
|
||||||
|
setSummary(R.string.pref_quick_switch_language_summary);
|
||||||
setVisible(!new SettingsStore(context).isMainLayoutStealth());
|
setVisible(!new SettingsStore(context).isMainLayoutStealth());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue