more convenient access to settingsValues

Settings.getInstance().getCurrent() -> Settings.getValues()
This commit is contained in:
Helium314 2025-02-28 22:17:06 +01:00
parent 98640c6b0d
commit 1b5a793690
46 changed files with 116 additions and 112 deletions

View file

@ -44,7 +44,7 @@ public final class InputView extends FrameLayout {
mMoreSuggestionsViewCanceler = new MoreSuggestionsViewCanceler(
mMainKeyboardView, suggestionStripView);
ViewKt.doOnNextLayout(this, v -> {
Settings.getInstance().getCurrent().mColors.setBackground(findViewById(R.id.main_keyboard_frame), ColorType.MAIN_BACKGROUND);
Settings.getValues().mColors.setBackground(findViewById(R.id.main_keyboard_frame), ColorType.MAIN_BACKGROUND);
return null;
});
}