mirror of
https://github.com/FossifyOrg/Keyboard.git
synced 2025-12-24 00:00:33 -05:00
fix: ensure binding is initialized before accessing properties (#340)
Refs: https://github.com/FossifyOrg/Keyboard/issues/335
This commit is contained in:
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Added
|
||||
- Option to disable the emoji key ([#234])
|
||||
|
||||
### Fixed
|
||||
- Fixed crash on initial startup in some cases ([#335])
|
||||
|
||||
## [1.6.0] - 2025-10-29
|
||||
### Added
|
||||
- Added Colemak, Colemak-DH, Workman, Asset, Niro, Soul layouts
|
||||
@@ -125,6 +128,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
[#259]: https://github.com/FossifyOrg/Keyboard/issues/259
|
||||
[#265]: https://github.com/FossifyOrg/Keyboard/issues/265
|
||||
[#274]: https://github.com/FossifyOrg/Keyboard/issues/274
|
||||
[#335]: https://github.com/FossifyOrg/Keyboard/issues/335
|
||||
|
||||
[Unreleased]: https://github.com/FossifyOrg/Keyboard/compare/1.6.0...HEAD
|
||||
[1.6.0]: https://github.com/FossifyOrg/Keyboard/compare/1.5.0...1.6.0
|
||||
|
||||
@@ -547,8 +547,10 @@ class SimpleKeyboardIME : InputMethodService(), OnKeyboardActionListener, Shared
|
||||
CUSTOM_PRIMARY_COLOR, CUSTOM_ACCENT_COLOR, IS_GLOBAL_THEME_ENABLED, IS_SYSTEM_THEME_ENABLED
|
||||
)
|
||||
) {
|
||||
keyboardView?.setupKeyboard()
|
||||
updateBackgroundColors()
|
||||
if (::binding.isInitialized) {
|
||||
keyboardView?.setupKeyboard()
|
||||
updateBackgroundColors()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user