diff options
author | t895 <clombardo169@gmail.com> | 2024-02-12 22:54:46 +0100 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2024-02-12 22:54:46 +0100 |
commit | 836592c447814efd8b743a3b310a075cd7fca3fd (patch) | |
tree | 8fe04b4e4538143b77fc7ff5aff2ce0d5a699ed5 /src/android/app | |
parent | android: Extend MessageDialogFragment to support a negative action and button titles (diff) | |
download | yuzu-836592c447814efd8b743a3b310a075cd7fca3fd.tar yuzu-836592c447814efd8b743a3b310a075cd7fca3fd.tar.gz yuzu-836592c447814efd8b743a3b310a075cd7fca3fd.tar.bz2 yuzu-836592c447814efd8b743a3b310a075cd7fca3fd.tar.lz yuzu-836592c447814efd8b743a3b310a075cd7fca3fd.tar.xz yuzu-836592c447814efd8b743a3b310a075cd7fca3fd.tar.zst yuzu-836592c447814efd8b743a3b310a075cd7fca3fd.zip |
Diffstat (limited to 'src/android/app')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/GamePropertiesFragment.kt | 4 |
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, |