summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-02-13 19:46:14 +0100
committert895 <clombardo169@gmail.com>2024-02-13 19:46:14 +0100
commitf813dc78b2ada097444380fc05195907cc91bdfa (patch)
treee4bc7764145f6ff49ea2cfa502f6122ac3302e6b /src/android/app
parentandroid: Show cancel option for delete addons dialog (diff)
downloadyuzu-f813dc78b2ada097444380fc05195907cc91bdfa.tar
yuzu-f813dc78b2ada097444380fc05195907cc91bdfa.tar.gz
yuzu-f813dc78b2ada097444380fc05195907cc91bdfa.tar.bz2
yuzu-f813dc78b2ada097444380fc05195907cc91bdfa.tar.lz
yuzu-f813dc78b2ada097444380fc05195907cc91bdfa.tar.xz
yuzu-f813dc78b2ada097444380fc05195907cc91bdfa.tar.zst
yuzu-f813dc78b2ada097444380fc05195907cc91bdfa.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AddonsFragment.kt5
1 files changed, 4 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 ae09d5006..872553ac4 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
@@ -104,7 +104,10 @@ class AddonsFragment : Fragment() {
requireActivity(),
titleId = R.string.addon_notice,
descriptionId = R.string.addon_notice_description,
- positiveAction = { addonViewModel.showModInstallPicker(true) }
+ dismissible = false,
+ positiveAction = { addonViewModel.showModInstallPicker(true) },
+ negativeAction = {},
+ negativeButtonTitleId = R.string.close
).show(parentFragmentManager, MessageDialogFragment.TAG)
addonViewModel.showModNoticeDialog(false)
}