fix: use non-deprecated spinner tick command in list

This commit is contained in:
Christian Rocha
2022-11-17 10:41:13 -05:00
parent 30c01cabdc
commit 2b5b8624d6
+1 -1
View File
@@ -569,7 +569,7 @@ func (m *Model) ToggleSpinner() tea.Cmd {
// StartSpinner starts the spinner. Note that this returns a command.
func (m *Model) StartSpinner() tea.Cmd {
m.showSpinner = true
return spinner.Tick
return m.spinner.Tick
}
// StopSpinner stops the spinner.