Make LanguageKeys the default long press key

This commit is contained in:
Aleksandras Kostarevas 2024-07-24 22:25:25 +03:00
parent 02fd5e40d8
commit af1bfa23ef

View File

@ -83,7 +83,7 @@ private fun getBestMatchForAction(moreKeys: List<String>): String? {
val LongPressKeyLayoutSetting = SettingsKey( val LongPressKeyLayoutSetting = SettingsKey(
stringPreferencesKey("longPressKeyOrdering"), stringPreferencesKey("longPressKeyOrdering"),
"${LongPressKey.Numbers.ordinal},${LongPressKey.LanguageKeys.ordinal},${LongPressKey.Symbols.ordinal},${LongPressKey.QuickActions.ordinal},${LongPressKey.MiscLetters.ordinal}" "${LongPressKey.LanguageKeys.ordinal},${LongPressKey.Numbers.ordinal},${LongPressKey.Symbols.ordinal},${LongPressKey.QuickActions.ordinal},${LongPressKey.MiscLetters.ordinal}"
) )
fun String.toLongPressKeyLayoutItems(): List<LongPressKey> { fun String.toLongPressKeyLayoutItems(): List<LongPressKey> {