From b406b900e19aa321c354a1e2dd346761ffbe89b1 Mon Sep 17 00:00:00 2001 From: Sential Date: Sun, 22 Dec 2019 18:13:31 +0100 Subject: [PATCH] fix: page icon in search box --- src/renderer/views/search/components/App/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/renderer/views/search/components/App/index.tsx b/src/renderer/views/search/components/App/index.tsx index 105f947b1..301cd9c3b 100644 --- a/src/renderer/views/search/components/App/index.tsx +++ b/src/renderer/views/search/components/App/index.tsx @@ -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; }