cleanup some warnings

This commit is contained in:
Chloe committed 2025-01-20 15:28:33 -07:00
1 parent bd502b56c2
commit 824d4395c7
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
},