Let's try an an emoji for the news header

This commit is contained in:
Christian Rocha 2020-11-30 12:27:05 -05:00
parent c4230ca3d9
commit b50614c64c
3 changed files with 3 additions and 1 deletions

View file

@ -4,4 +4,5 @@ package ui
const ( const (
pagerStashIcon = "🔒" pagerStashIcon = "🔒"
newsIcon = "⚡️"
) )

View file

@ -4,4 +4,5 @@ package ui
const ( const (
pagerStashIcon = "•" pagerStashIcon = "•"
newsIcon = ""
) )

View file

@ -968,7 +968,7 @@ func (m stashModel) view() string {
if m.isFiltering() { if m.isFiltering() {
logoOrFilter = m.filterInput.View() logoOrFilter = m.filterInput.View()
} else if m.docState == stashShowNewsDocs { } else if m.docState == stashShowNewsDocs {
logoOrFilter += newsTitleStyle(" News ") logoOrFilter += newsTitleStyle(" News ") + " " + newsIcon
} }
var pagination string var pagination string