mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-22 00:42:38 +00:00
cleanup some warnings
This commit is contained in:
3 files changed
+9
-8
No files matched your search
@@ -345,10 +345,10 @@ fun FrameRateDialog(
|
||||
)
|
||||
}
|
||||
|
||||
var minFrameRate = 5
|
||||
val minFrameRate = 5
|
||||
val currentValue = enteredValue.toIntOrNull()
|
||||
var maximumReached = currentValue != null && currentValue > maxFrameRate
|
||||
var minimumReached = currentValue != null && currentValue < minFrameRate
|
||||
val maximumReached = currentValue != null && currentValue > maxFrameRate
|
||||
val minimumReached = currentValue != null && currentValue < minFrameRate
|
||||
|
||||
AlertDialog(
|
||||
onDismissRequest = { onDismissRequest() },
|
||||
@@ -374,7 +374,7 @@ fun FrameRateDialog(
|
||||
Spacer(Modifier.size(8.dp))
|
||||
|
||||
OutlinedTextField(
|
||||
value = enteredValue.toString(),
|
||||
value = enteredValue,
|
||||
onValueChange = {
|
||||
enteredValue = it
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user