mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
Upgrades to Live and API Caching
This commit is contained in:
@@ -171,8 +171,7 @@ func (m CalendarModel) View() string {
|
||||
return fmt.Sprintf("\n %s Loading %d calendar...", m.spinner.View(), m.year)
|
||||
}
|
||||
if m.err != nil {
|
||||
return styleError.Render(fmt.Sprintf("\n Error: %v\n\n", m.err)) +
|
||||
helpBar("r retry", "q quit")
|
||||
return renderErrorView(m.err)
|
||||
}
|
||||
if len(m.meetings) == 0 {
|
||||
return styleMuted.Render(fmt.Sprintf("\n No meetings found for %d.\n", m.year))
|
||||
|
||||
Reference in New Issue
Block a user