From 7b7a398c74a4e90f06d933b69d24b010bd22bac0 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Wed, 11 Nov 2020 16:14:51 -0500 Subject: [PATCH] Don't dim the search entry when blurring the search field --- ui/stash.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/stash.go b/ui/stash.go index 6c34c29..9ea2d7d 100644 --- a/ui/stash.go +++ b/ui/stash.go @@ -794,10 +794,7 @@ func stashView(m stashModel) string { logoOrSearch := glowLogoView(" Glow ") // If we're filtering we replace the logo with the search field - if m.state == stashStateSearchNotes { - logoOrSearch = textinput.View(m.searchInput) - } else if m.state == stashStateShowFiltered { - m.searchInput.TextColor = m.searchInput.PlaceholderColor + if m.state == stashStateSearchNotes || m.state == stashStateShowFiltered { logoOrSearch = textinput.View(m.searchInput) }