mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-18 23:20:54 +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() {
|
private void reloadIfNecessary() {
|
||||||
// better do the reload when showing the keyboard next time, and not on settings change
|
// better do the reload when showing the keyboard next time, and not on settings change
|
||||||
if (SettingsActivityKt.keyboardNeedsReload) {
|
if (SettingsActivityKt.keyboardNeedsReload) {
|
||||||
|
loadSettings();
|
||||||
KeyboardLayoutSet.onKeyboardThemeChanged();
|
KeyboardLayoutSet.onKeyboardThemeChanged();
|
||||||
mKeyboardSwitcher.forceUpdateKeyboardTheme(mDisplayContext);
|
mKeyboardSwitcher.forceUpdateKeyboardTheme(mDisplayContext);
|
||||||
SettingsActivityKt.keyboardNeedsReload = false;
|
SettingsActivityKt.keyboardNeedsReload = false;
|
||||||
|
|
|
@ -16,7 +16,6 @@ import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
// todo
|
// todo
|
||||||
// calling KeyboardSwitcher.getInstance().forceUpdateKeyboardTheme(requireContext()) while keyboard is showing shows just full screen background
|
// 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?)
|
// 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
|
// performance
|
||||||
// find a nice way of testing (probably add logs for measuring time and recompositions)
|
// 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
|
// consider that stuff in composables can get called quite often on any changes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue