From 48e5ba97f72ee71431a583517020203a5646c23b Mon Sep 17 00:00:00 2001 From: Roger Yang Date: Mon, 4 Apr 2022 13:22:26 -0400 Subject: [PATCH] [fenix] Close https://github.com/mozilla-mobile/fenix/issues/24550: Hide edit suggestion button for history and bookmarks search suggestions --- .../fenix/library/bookmarks/awesomebar/AwesomeBarView.kt | 3 ++- .../mozilla/fenix/library/history/awesomebar/AwesomeBarView.kt | 3 ++- buildSrc/src/main/java/AndroidComponents.kt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/library/bookmarks/awesomebar/AwesomeBarView.kt b/app/src/main/java/org/mozilla/fenix/library/bookmarks/awesomebar/AwesomeBarView.kt index 4511e738e9..5b55f90cee 100644 --- a/app/src/main/java/org/mozilla/fenix/library/bookmarks/awesomebar/AwesomeBarView.kt +++ b/app/src/main/java/org/mozilla/fenix/library/bookmarks/awesomebar/AwesomeBarView.kt @@ -48,7 +48,8 @@ class AwesomeBarView( loadUrlUseCase = loadUrlUseCase, icons = components.core.icons, indicatorIcon = getDrawable(activity, R.drawable.ic_search_results_bookmarks), - engine = engineForSpeculativeConnects + engine = engineForSpeculativeConnects, + showEditSuggestion = false, ) view.addProviders(bookmarksStorageSuggestionProvider) diff --git a/app/src/main/java/org/mozilla/fenix/library/history/awesomebar/AwesomeBarView.kt b/app/src/main/java/org/mozilla/fenix/library/history/awesomebar/AwesomeBarView.kt index 3b107befc8..4dd213874a 100644 --- a/app/src/main/java/org/mozilla/fenix/library/history/awesomebar/AwesomeBarView.kt +++ b/app/src/main/java/org/mozilla/fenix/library/history/awesomebar/AwesomeBarView.kt @@ -47,7 +47,8 @@ class AwesomeBarView( loadUrlUseCase = loadUrlUseCase, icons = components.core.icons, engine = engineForSpeculativeConnects, - maxNumberOfSuggestions = METADATA_SUGGESTION_LIMIT + maxNumberOfSuggestions = METADATA_SUGGESTION_LIMIT, + showEditSuggestion = false, ) view.addProviders(combinedHistoryProvider) diff --git a/buildSrc/src/main/java/AndroidComponents.kt b/buildSrc/src/main/java/AndroidComponents.kt index 761a7fd425..baf81a2336 100644 --- a/buildSrc/src/main/java/AndroidComponents.kt +++ b/buildSrc/src/main/java/AndroidComponents.kt @@ -3,5 +3,5 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { - const val VERSION = "100.0.20220404143034" + const val VERSION = "100.0.20220404163641" }