Skip to content

Commit

Permalink
fix: bootstrap command combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Jan 7, 2025
1 parent 7602c34 commit aa29f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/bootstrap/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch m.Question {
case InstallQuestion:
m.Question = CatchupQuestion
m.BootstrapMsg.Install = true
m.BootstrapMsg.Install = false
case CatchupQuestion:
m.Question = WaitingQuestion
m.BootstrapMsg.Catchup = true
m.BootstrapMsg.Catchup = false
case WaitingQuestion:
return m, tea.Sequence(m.Outside.Emit(m.BootstrapMsg), tea.Quit)
}
Expand Down

0 comments on commit aa29f2d

Please sign in to comment.