summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-02-12 16:54:46 -0500
committert895 <clombardo169@gmail.com>2024-02-12 16:54:46 -0500
commit836592c447814efd8b743a3b310a075cd7fca3fd (patch)
tree8fe04b4e4538143b77fc7ff5aff2ce0d5a699ed5
parentfbc1b61bff841badd76bdc55050b36c31fa70374 (diff)
android: Swap confirmation buttons for delete save data dialog
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/GamePropertiesFragment.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/GamePropertiesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/GamePropertiesFragment.kt
index d14b2c634..3ea5e16ca 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/GamePropertiesFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/GamePropertiesFragment.kt
@@ -243,7 +243,9 @@ class GamePropertiesFragment : Fragment() {
requireActivity(),
titleId = R.string.delete_save_data,
descriptionId = R.string.delete_save_data_warning_description,
- positiveAction = {
+ positiveButtonTitleId = android.R.string.cancel,
+ negativeButtonTitleId = android.R.string.ok,
+ negativeAction = {
File(args.game.saveDir).deleteRecursively()
Toast.makeText(
YuzuApplication.appContext,