mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
android: Swap confirmation buttons for delete save data dialog
This commit is contained in:
parent
fbc1b61bff
commit
836592c447
|
@ -243,7 +243,9 @@ class GamePropertiesFragment : Fragment() {
|
||||||
requireActivity(),
|
requireActivity(),
|
||||||
titleId = R.string.delete_save_data,
|
titleId = R.string.delete_save_data,
|
||||||
descriptionId = R.string.delete_save_data_warning_description,
|
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()
|
File(args.game.saveDir).deleteRecursively()
|
||||||
Toast.makeText(
|
Toast.makeText(
|
||||||
YuzuApplication.appContext,
|
YuzuApplication.appContext,
|
||||||
|
|
Loading…
Reference in a new issue