diff --git a/ui/stash.go b/ui/stash.go index ee7d642..0625343 100644 --- a/ui/stash.go +++ b/ui/stash.go @@ -179,7 +179,7 @@ func (m *stashModel) addMarkdowns(mds ...*markdown) { func stashInit(cc *charm.Client) (stashModel, tea.Cmd) { s := spinner.NewModel() - s.Type = spinner.Dot + s.Frames = spinner.Dot s.ForegroundColor = common.SpinnerColor p := paginator.NewModel() diff --git a/ui/ui.go b/ui/ui.go index 0dcbadb..feeb489 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -97,7 +97,7 @@ func (m *model) unloadDocument() { func initialize(style string) func() (tea.Model, tea.Cmd) { return func() (tea.Model, tea.Cmd) { s := spinner.NewModel() - s.Type = spinner.Dot + s.Frames = spinner.Dot s.ForegroundColor = common.SpinnerColor if style == "auto" {