From ef574d051c5ac38bf687a314d624af017f5c08d9 Mon Sep 17 00:00:00 2001 From: mcarare Date: Tue, 25 Aug 2020 16:43:27 +0300 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/14157: Pass correct anchor for context menu popup. --- app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt index ace14c198f..280bf4ca33 100644 --- a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt @@ -349,7 +349,7 @@ class HomeFragment : Fragment() { view.toolbar_wrapper.setOnLongClickListener { ToolbarPopupWindow.show( - WeakReference(view), + WeakReference(it), handlePasteAndGo = sessionControlInteractor::onPasteAndGo, handlePaste = sessionControlInteractor::onPaste, copyVisible = false