We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LandscapeInputUIMode
1 parent 83c2f74 commit 19b62f5Copy full SHA for 19b62f5
app/src/main/java/com/osfans/trime/ime/landscapeinput/LandscapeInputUIMode.kt
@@ -10,7 +10,12 @@ enum class LandscapeInputUIMode {
10
;
11
12
companion object {
13
- private val convertMap: HashMap<String, LandscapeInputUIMode> = hashMapOf()
+ private val convertMap: HashMap<String, LandscapeInputUIMode> =
14
+ hashMapOf(
15
+ Pair("AUTO_SHOW", AUTO_SHOW),
16
+ Pair("ALWAYS_SHOW", ALWAYS_SHOW),
17
+ Pair("NEVER_SHOW", NEVER_SHOW),
18
+ )
19
20
fun fromString(mode: String): LandscapeInputUIMode {
21
val type = convertMap[mode.uppercase(Locale.getDefault())]
0 commit comments