Fix the toomuchcharacters error in ConfigScreen.kt
This commit is contained in:
parent
199cdf808e
commit
439a6f73e4
|
@ -55,7 +55,7 @@ val SnowyConfigScreen: Screen get() {
|
||||||
isEmpty() || !it.contains(":") -> "$confPrefix.general.macros.missingdelimiter"
|
isEmpty() || !it.contains(":") -> "$confPrefix.general.macros.missingdelimiter"
|
||||||
size < 2 -> "$confPrefix.general.macros.missingelement"
|
size < 2 -> "$confPrefix.general.macros.missingelement"
|
||||||
size > 2 -> "$confPrefix.general.macros.toomuchdelimiters"
|
size > 2 -> "$confPrefix.general.macros.toomuchdelimiters"
|
||||||
it.count() > 16 -> "$confPrefix.general.macros.toomuchcharacters"
|
first().count() > 16 -> "$confPrefix.general.macros.toomuchcharacters"
|
||||||
else -> null
|
else -> null
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue