From ad87b6e654db2acad8f2e12a91ff03eccab883e6 Mon Sep 17 00:00:00 2001 From: rahulsainani Date: Fri, 12 Jan 2024 11:06:53 +0100 Subject: [PATCH] Bug 1874374 - Fix wallpaper settings home navigation issue --- .../fenix/settings/wallpaper/WallpaperSettingsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettingsFragment.kt b/app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettingsFragment.kt index dab94ab79e..29e4488be9 100644 --- a/app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettingsFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/settings/wallpaper/WallpaperSettingsFragment.kt @@ -112,7 +112,7 @@ class WallpaperSettingsFragment : Fragment() { requireComponents.appStore.dispatch( AppAction.WallpaperAction.OpenToHome, ) - findNavController().navigate(R.id.homeFragment) + findNavController().popBackStack(R.id.homeFragment, false) } .show()