Don't say we haven't found anything until we're done searching

This commit is contained in:
Christian Rocha 2020-07-28 16:21:36 -04:00 committed by Christian Muehlhaeuser
parent 25a5e6ee10
commit b831afc966

View file

@ -572,7 +572,7 @@ func stashHeaderView(m stashModel) string {
stashedItems := m.countMarkdowns(stashedMarkdown)
// Loading's finished and all we have is news.
if localItems == 0 && stashedItems == 0 {
if !loading && localItems == 0 && stashedItems == 0 {
return common.Subtle("No local or stashed markdown files found.")
}