From 957e30453bb4688ec988be83a41f0529ca30b03b Mon Sep 17 00:00:00 2001 From: LeoMaldonado Date: Thu, 12 Nov 2020 17:23:44 -0300 Subject: [PATCH] [fenix] Fixes Comment on https://github.com/mozilla-mobile/fenix/issues/16563: DefaultToolbarMenu registering for bookmark changes comment link: https://github.com/mozilla-mobile/fenix/pull/16536#discussion_r522387945 --- .../org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt b/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt index 9150a1e697..93a4517d08 100644 --- a/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt +++ b/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt @@ -133,6 +133,8 @@ class DefaultToolbarMenu( } ) + registerForIsBookmarkedUpdates() + val bookmark = BrowserMenuItemToolbar.TwoStateButton( primaryImageResource = R.drawable.ic_bookmark_filled, primaryContentDescription = context.getString(R.string.browser_menu_edit_bookmark),