Skip to content

Commit

Permalink
Suggestions should not be refinable
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwibrowser committed Feb 6, 2021
1 parent 2197e0c commit 2d6a801
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ public void init(OmniboxResultItem suggestionItem, OmniboxSuggestionDelegate sug
mContentsView.setSuggestionIcon(SUGGESTION_ICON_MAGNIFIER, colorsChanged);
mContentsView.mTextLine2.setVisibility(VISIBLE);
setRefinable(true);
if (mSuggestion.getUrl() != null && mSuggestion.getUrl().contains(".kiwibrowser.org"))
setRefinable(false);
return;
} else {
mNumAnswerLines = 1;
Expand Down

0 comments on commit 2d6a801

Please sign in to comment.