summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-02-13 19:45:17 +0100
committert895 <clombardo169@gmail.com>2024-02-13 19:45:17 +0100
commit10ba318807c673fd3b0e624015c184d770cdc966 (patch)
tree8345083f537899dd55d0406a98f6c573202ce270
parentandroid: Swap ok and close default strings for MessageDialogFragment (diff)
downloadyuzu-10ba318807c673fd3b0e624015c184d770cdc966.tar
yuzu-10ba318807c673fd3b0e624015c184d770cdc966.tar.gz
yuzu-10ba318807c673fd3b0e624015c184d770cdc966.tar.bz2
yuzu-10ba318807c673fd3b0e624015c184d770cdc966.tar.lz
yuzu-10ba318807c673fd3b0e624015c184d770cdc966.tar.xz
yuzu-10ba318807c673fd3b0e624015c184d770cdc966.tar.zst
yuzu-10ba318807c673fd3b0e624015c184d770cdc966.zip
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt
index f5647fa95..ae09d5006 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt
@@ -119,7 +119,8 @@ class AddonsFragment : Fragment() {
requireActivity(),
titleId = R.string.confirm_uninstall,
descriptionId = R.string.confirm_uninstall_description,
- positiveAction = { addonViewModel.onDeleteAddon(it) }
+ positiveAction = { addonViewModel.onDeleteAddon(it) },
+ negativeAction = {}
).show(parentFragmentManager, MessageDialogFragment.TAG)
addonViewModel.setAddonToDelete(null)
}