2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

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

This commit is contained in:
MatthewTighe 2022-09-22 16:02:01 -07:00 committed by mergify[bot]
parent 538fd700bd
commit 5e282ae326

View File

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