mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-05 04:36:07 +00:00
refactor!: restore bubbletea model interface
This commit is contained in:
@@ -182,8 +182,8 @@ func New(opts ...Option) Model {
|
||||
}
|
||||
|
||||
// Init exists to satisfy the tea.Model interface.
|
||||
func (m Model) Init() (Model, tea.Cmd) {
|
||||
return m, nil
|
||||
func (m Model) Init() tea.Cmd {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Update is used to animate the progress bar during transitions. Use
|
||||
|
||||
Reference in New Issue
Block a user