Skip to content

Commit 75e8f46

Browse files
authored
Merge pull request #81 from Hepolise/dev
Fix: SettingsActivity: Use different AlertDialog buttons
2 parents 7661f73 + 849e9cb commit 75e8f46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/ru/hepolise/volumekeytrackcontrol/ui/SettingsActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ fun VibrationSettingsScreen(vibrator: Vibrator?) {
381381
}
382382
},
383383
dismissButton = {
384-
Button(onClick = { showResetSettingsDialog = false }) {
384+
TextButton(onClick = { showResetSettingsDialog = false }) {
385385
Text(stringResource(R.string.no))
386386
}
387387
}
@@ -443,7 +443,7 @@ fun NumberAlertDialog(
443443
}
444444
},
445445
confirmButton = {
446-
TextButton(
446+
Button(
447447
onClick = {
448448
onConfirm(value.toInt())
449449
},

0 commit comments

Comments
 (0)