mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-08 23:57:41 +00:00
fix NPE related to recent RichIMM changes
This commit is contained in:
parent
c321c2c684
commit
e4e99a7e5d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ object SubtypeSettings {
|
|||
return enabledSubtypes
|
||||
}
|
||||
|
||||
fun isEnabled(subtype: InputMethodSubtype): Boolean = subtype in enabledSubtypes || subtype in getDefaultEnabledSubtypes()
|
||||
fun isEnabled(subtype: InputMethodSubtype?): Boolean = subtype in enabledSubtypes || subtype in getDefaultEnabledSubtypes()
|
||||
|
||||
fun getAllAvailableSubtypes(): List<InputMethodSubtype> =
|
||||
resourceSubtypesByLocale.values.flatten() + additionalSubtypes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue