on main help sign in
chore: correctly mark project as initialized
fbfa0f5Kujtim Hoxha
internal/tui/components/chat/splash/splash.go+2−4
@@ -192,10 +192,8 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
192 return s, s.initializeProject()
192 return s, s.initializeProject()
193 }
193 }
194 case key.Matches(msg, s.keyMap.No):
194 case key.Matches(msg, s.keyMap.No):
195− if s.needsProjectInit {
195+ s.selectedNo = true
196− s.needsProjectInit = false
196+ return s, s.initializeProject()
197− return s, util.CmdHandler(OnboardingCompleteMsg{})
198− }
199 default:
197 default:
200 if s.needsAPIKey {
198 if s.needsAPIKey {
201 u, cmd := s.apiKeyInput.Update(msg)
199 u, cmd := s.apiKeyInput.Update(msg)