From b50614c64cfbc92ff0a591cd412cedc83e6214e7 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 30 Nov 2020 12:27:05 -0500 Subject: [PATCH] Let's try an an emoji for the news header --- ui/consts_unix.go | 1 + ui/consts_windows.go | 1 + ui/stash.go | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/consts_unix.go b/ui/consts_unix.go index fd13ad3..56f264e 100644 --- a/ui/consts_unix.go +++ b/ui/consts_unix.go @@ -4,4 +4,5 @@ package ui const ( pagerStashIcon = "🔒" + newsIcon = "⚡️" ) diff --git a/ui/consts_windows.go b/ui/consts_windows.go index 25f9851..f39c1e4 100644 --- a/ui/consts_windows.go +++ b/ui/consts_windows.go @@ -4,4 +4,5 @@ package ui const ( pagerStashIcon = "•" + newsIcon = "" ) diff --git a/ui/stash.go b/ui/stash.go index ecb0ce0..2c46bd1 100644 --- a/ui/stash.go +++ b/ui/stash.go @@ -968,7 +968,7 @@ func (m stashModel) view() string { if m.isFiltering() { logoOrFilter = m.filterInput.View() } else if m.docState == stashShowNewsDocs { - logoOrFilter += newsTitleStyle(" News ") + logoOrFilter += newsTitleStyle(" News ") + " " + newsIcon } var pagination string