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.
1 parent a663c1d commit 2c08320Copy full SHA for 2c08320
feature_settings/src/main/java/com/my/kizzy/feature_settings/rpc_settings/RpcSettings.kt
@@ -442,7 +442,7 @@ fun RpcSettings(onBackPressed: () -> Boolean) {
442
isError = customApplicationId.length !in MAX_APPLICATION_ID_LENGTH_RANGE || !customApplicationId.all { it.isDigit() },
443
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Number),
444
onValueChange = { newText ->
445
- if (newText.length in MAX_APPLICATION_ID_LENGTH_RANGE && newText.all { it.isDigit() }) {
+ if (newText.length <= MAX_APPLICATION_ID_LENGTH_RANGE.last && newText.all { it.isDigit() }) {
446
customApplicationId = newText
447
}
448
0 commit comments