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:
parent
538fd700bd
commit
5e282ae326
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user