Fix the toomuchcharacters error in ConfigScreen.kt

This commit is contained in:
Username404 2021-05-31 22:07:43 +02:00
parent 199cdf808e
commit 439a6f73e4
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ val SnowyConfigScreen: Screen get() {
isEmpty() || !it.contains(":") -> "$confPrefix.general.macros.missingdelimiter"
size < 2 -> "$confPrefix.general.macros.missingelement"
size > 2 -> "$confPrefix.general.macros.toomuchdelimiters"
it.count() > 16 -> "$confPrefix.general.macros.toomuchcharacters"
first().count() > 16 -> "$confPrefix.general.macros.toomuchcharacters"
else -> null
}
)