mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-24 16:46:35 +00:00
fix issue with reloading after switching background image
This commit is contained in:
parent
b849c696c5
commit
1e6617d859
2 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
loadSettings();
|
||||
KeyboardLayoutSet.onKeyboardThemeChanged();
|
||||
mKeyboardSwitcher.forceUpdateKeyboardTheme(mDisplayContext);
|
||||
SettingsActivityKt.keyboardNeedsReload = false;
|
||||
|
|
|
@ -16,7 +16,6 @@ import kotlinx.coroutines.flow.MutableStateFlow
|
|||
// todo
|
||||
// calling KeyboardSwitcher.getInstance().forceUpdateKeyboardTheme(requireContext()) while keyboard is showing shows just full screen background
|
||||
// but reload while keyboard is showing would be great (isn't it at least semi-done when changing one-handed mode?)
|
||||
// bg image inconsistent about being on toolbar or not (is this new?)
|
||||
// performance
|
||||
// find a nice way of testing (probably add logs for measuring time and recompositions)
|
||||
// consider that stuff in composables can get called quite often on any changes
|
||||
|
|
Loading…
Add table
Reference in a new issue