clear keyboard cache when needed

This commit is contained in:
Helium314 2025-02-05 05:58:29 +01:00
parent 2d38cf0805
commit 4eadaa8965
2 changed files with 1 additions and 1 deletions

View file

@ -1983,6 +1983,7 @@ public class LatinIME extends InputMethodService implements
private void reloadIfNecessary() {
// better do the reload when showing the keyboard next time, and not on settings change
if (SettingsActivityKt.keyboardNeedsReload) {
KeyboardLayoutSet.onKeyboardThemeChanged();
mKeyboardSwitcher.forceUpdateKeyboardTheme(mDisplayContext);
SettingsActivityKt.keyboardNeedsReload = false;
}

View file

@ -17,7 +17,6 @@ import kotlinx.coroutines.flow.MutableStateFlow
// make all prefs actually work
// appearance
// click on bg image does nothing when already set (but works after reload)
// split spacer scale setting does not reload?
// narrow key gaps setting is not changing properly?
// custom font loading not implemented
// have large bg image, and first-time load the keyboard on new search field -> bg image expands full size