yuzu-emu
/
yuzu
Archived
1
0
Fork 0

android: Show cancel option for delete addons dialog

This commit is contained in:
t895 2024-02-13 13:45:17 -05:00
parent 86fc1e5b32
commit 10ba318807
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ class AddonsFragment : Fragment() {
requireActivity(), requireActivity(),
titleId = R.string.confirm_uninstall, titleId = R.string.confirm_uninstall,
descriptionId = R.string.confirm_uninstall_description, descriptionId = R.string.confirm_uninstall_description,
positiveAction = { addonViewModel.onDeleteAddon(it) } positiveAction = { addonViewModel.onDeleteAddon(it) },
negativeAction = {}
).show(parentFragmentManager, MessageDialogFragment.TAG) ).show(parentFragmentManager, MessageDialogFragment.TAG)
addonViewModel.setAddonToDelete(null) addonViewModel.setAddonToDelete(null)
} }