From 8c028066251a348998c9c00104cae02b7cff2f46 Mon Sep 17 00:00:00 2001 From: ekager Date: Fri, 22 Nov 2019 09:56:13 -0800 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/6573 - Fixes anchor view for tab switching snackbar --- app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt index cc3d18d2dd..a9ca81bca0 100644 --- a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt @@ -18,7 +18,6 @@ import androidx.lifecycle.Observer import androidx.transition.TransitionInflater import com.google.android.material.snackbar.Snackbar import kotlinx.android.synthetic.main.fragment_browser.view.* -import kotlinx.android.synthetic.main.fragment_home.* import kotlinx.coroutines.ExperimentalCoroutinesApi import mozilla.components.browser.session.Session import mozilla.components.feature.contextmenu.ContextMenuCandidate @@ -255,7 +254,7 @@ class BrowserFragment : BaseBrowserFragment(), BackHandler { view, FenixSnackbarDelegate( view, - bottom_bar + browserToolbarView.view ) )