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(
|
||||
R.id.switchModifiedLayoutEnabled);
|
||||
boolean layout = mPrefs.getBoolean(
|
||||
"modified_key_layout", true);
|
||||
"modified_key_layout", false);
|
||||
if (layout) {
|
||||
switchModifiedLayoutEnabled.setChecked(true);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue