For #27101: set dialog to be dismissed when touched outside

pull/543/head
MatthewTighe 2 years ago committed by mergify[bot]
parent 538fd700bd
commit 5e282ae326

@ -80,6 +80,7 @@ class WallpaperOnboardingDialogFragment : BottomSheetDialogFragment() {
container: ViewGroup?,
savedInstanceState: Bundle?,
): View = ComposeView(requireContext()).apply {
this@WallpaperOnboardingDialogFragment.dialog?.setCanceledOnTouchOutside(true)
setViewCompositionStrategy(ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed)
setContent {

Loading…
Cancel
Save