Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
fix: page icon in search box
Browse files Browse the repository at this point in the history
  • Loading branch information
sentialx committed Dec 22, 2019
1 parent e142b79 commit b406b90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/renderer/views/search/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ export const App = hot(

if (suggestion.isSearch) {
favicon = store.searchEngine.icon;
} else if (favicon == null || favicon.trim() === '') {
} else if (
favicon == null ||
favicon.trim() === '' ||
favicon === icons.page
) {
favicon = icons.page;
customIcon = true;
}
Expand Down

0 comments on commit b406b90

Please sign in to comment.