mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
android: Swap confirmation buttons for delete save data dialog
This commit is contained in:
parent
fbc1b61bff
commit
836592c447
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue