mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-17 02:25:12 -07:00
Migrate from NewModel() to New() in examples for Bubbles-related stuff
This commit is contained in:
@@ -80,7 +80,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
}
|
||||
|
||||
func (m *model) resetSpinner() {
|
||||
m.spinner = spinner.NewModel()
|
||||
m.spinner = spinner.New()
|
||||
m.spinner.Style = spinnerStyle
|
||||
m.spinner.Spinner = spinners[m.index]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user