From 599d4087e68af8c9de555578d72233ba7c3a9132 Mon Sep 17 00:00:00 2001 From: iorgamgabriel Date: Wed, 31 Jul 2024 06:40:09 +0000 Subject: [PATCH] Bug 1885583 - [Menu Redesign]Add BottomSheetDialog.dismiss() when onRequestDismiss is called. r=android-reviewers,gl Differential Revision: https://phabricator.services.mozilla.com/D217812 --- .../org/mozilla/fenix/components/menu/MenuDialogFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt index f4b4595e1ef5..cd158835c90e 100644 --- a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt +++ b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/MenuDialogFragment.kt @@ -107,7 +107,7 @@ class MenuDialogFragment : BottomSheetDialogFragment() { setContent { FirefoxTheme { - MenuDialogBottomSheet(onRequestDismiss = {}) { + MenuDialogBottomSheet(onRequestDismiss = { dismiss() }) { val appStore = components.appStore val browserStore = components.core.store val syncStore = components.backgroundServices.syncStore