For #3622 - Add ID to engine shortcut suggestions (#3636)

nightly-build-test
Emily Kager 5 years ago committed by Colin Lee
parent e244aae104
commit 6e3197f61c

@ -33,6 +33,7 @@ class ShortcutsSuggestionProvider(
suggestions.add(
AwesomeBar.Suggestion(
provider = this,
id = it.identifier,
icon = { _, _ ->
it.icon
},
@ -46,6 +47,7 @@ class ShortcutsSuggestionProvider(
suggestions.add(
AwesomeBar.Suggestion(
provider = this,
id = context.getString(R.string.search_shortcuts_engine_settings),
icon = { _, _ -> settingsIcon },
title = context.getString(R.string.search_shortcuts_engine_settings),
onSuggestionClicked = {

Loading…
Cancel
Save