Set default value for custom key assign to false on first load
This commit is contained in:
parent
f79cb1ecb7
commit
998fa20c01
|
@ -55,7 +55,7 @@ public class InputModFragment extends Fragment {
|
||||||
switchModifiedLayoutEnabled = (Switch) getView().findViewById(
|
switchModifiedLayoutEnabled = (Switch) getView().findViewById(
|
||||||
R.id.switchModifiedLayoutEnabled);
|
R.id.switchModifiedLayoutEnabled);
|
||||||
boolean layout = mPrefs.getBoolean(
|
boolean layout = mPrefs.getBoolean(
|
||||||
"modified_key_layout", true);
|
"modified_key_layout", false);
|
||||||
if (layout) {
|
if (layout) {
|
||||||
switchModifiedLayoutEnabled.setChecked(true);
|
switchModifiedLayoutEnabled.setChecked(true);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue