mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
parent
cec47bf03d
commit
d7cb655c21
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@ import androidx.appcompat.app.AlertDialog;
|
|||
import androidx.preference.SwitchPreference;
|
||||
import androidx.preference.TwoStatePreference;
|
||||
|
||||
import helium314.keyboard.keyboard.KeyboardSwitcher;
|
||||
import helium314.keyboard.latin.R;
|
||||
import helium314.keyboard.latin.permissions.PermissionsManager;
|
||||
import helium314.keyboard.latin.permissions.PermissionsUtil;
|
||||
|
@ -52,6 +53,8 @@ public final class CorrectionSettingsFragment extends SubScreenFragment
|
|||
.show();
|
||||
} else if (Settings.PREF_SHOW_SUGGESTIONS.equals(key) && !prefs.getBoolean(key, true)) {
|
||||
((TwoStatePreference)findPreference(Settings.PREF_ALWAYS_SHOW_SUGGESTIONS)).setChecked(false);
|
||||
} else if (Settings.PREF_BIGRAM_PREDICTIONS.equals(key)) {
|
||||
KeyboardSwitcher.getInstance().forceUpdateKeyboardTheme(requireContext());
|
||||
}
|
||||
refreshEnabledSettings();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue