mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-16 23:12:47 +00:00
disable debug mode when disabling debug settings
This commit is contained in:
parent
68d44c435c
commit
1fd0ed4464
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ public final class DebugSettingsFragment extends SubScreenFragment
|
||||||
mServiceNeedsRestart = true;
|
mServiceNeedsRestart = true;
|
||||||
} else if (key.equals(DebugSettings.PREF_SHOW_SUGGESTION_INFOS)) {
|
} else if (key.equals(DebugSettings.PREF_SHOW_SUGGESTION_INFOS)) {
|
||||||
KeyboardSwitcher.getInstance().forceUpdateKeyboardTheme(requireContext());
|
KeyboardSwitcher.getInstance().forceUpdateKeyboardTheme(requireContext());
|
||||||
|
} else if (key.equals(DebugSettings.PREF_SHOW_DEBUG_SETTINGS) && mDebugMode.isChecked()) {
|
||||||
|
mDebugMode.setChecked(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue