chore: correctly mark project as initialized

Kujtim Hoxha created

Change summary

internal/tui/components/chat/splash/splash.go | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Detailed changes

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)