For #27101: set dialog to be dismissed when touched outside
This commit is contained in:
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…
Reference in New Issue