Skip to content
Snippets Groups Projects
Commit f813dc78 authored by t895's avatar t895
Browse files

android: Prevent user from dismissing mod/cheat notice

Makes sure that a user can't miss this dialog by touching outside the window. They must press "OK" or "Close" to continue.
parent 10ba3188
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment