From fbfa0f55fb25791ae009fae17a35e0e802b8efdc Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Mon, 14 Jul 2025 10:58:03 +0200 Subject: [PATCH] chore: correctly mark project as initialized --- internal/tui/components/chat/splash/splash.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/internal/tui/components/chat/splash/splash.go b/internal/tui/components/chat/splash/splash.go index 722aaea6f75c6ef0bef7e0a9ec2de319c6d71bfb..98318c86a13124e9b9edc523a7601a81ff728afd 100644 --- a/internal/tui/components/chat/splash/splash.go +++ b/internal/tui/components/chat/splash/splash.go @@ -192,10 +192,8 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) { return s, s.initializeProject() } case key.Matches(msg, s.keyMap.No): - if s.needsProjectInit { - s.needsProjectInit = false - return s, util.CmdHandler(OnboardingCompleteMsg{}) - } + s.selectedNo = true + return s, s.initializeProject() default: if s.needsAPIKey { u, cmd := s.apiKeyInput.Update(msg)