mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-10 00:27:45 +00:00
more convenient access to settingsValues
Settings.getInstance().getCurrent() -> Settings.getValues()
This commit is contained in:
parent
98640c6b0d
commit
1b5a793690
46 changed files with 116 additions and 112 deletions
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue