Stop onboarding page from showing up instead of welcome page (#34845)

This is from PR #34723 where I was working on developing the onboarding
page, but I forgot to switch the first page back to our current version.

Release Notes:

- N/A
This commit is contained in:
Anthony Eid 2025-07-21 15:02:02 -04:00 committed by GitHub
parent 6ea09beea8
commit 241acbe4be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,6 @@ use reqwest_client::ReqwestClient;
use assets::Assets;
use node_runtime::{NodeBinaryOptions, NodeRuntime};
use onboarding::show_onboarding_view;
use parking_lot::Mutex;
use project::project_settings::ProjectSettings;
use recent_projects::{SshSettings, open_ssh_project};
@ -1041,10 +1040,6 @@ async fn restore_or_create_workspace(app_state: Arc<AppState>, cx: &mut AsyncApp
);
}
}
} else if matches!(KEY_VALUE_STORE.read_kvp(FIRST_OPEN), Ok(None)) {
let state = app_state.clone();
cx.update(|cx| show_onboarding_view(state, cx))?.await?;
// cx.update(|cx| show_welcome_view(app_state, cx))?.await?;
} else if matches!(KEY_VALUE_STORE.read_kvp(FIRST_OPEN), Ok(None)) {
cx.update(|cx| show_welcome_view(app_state, cx))?.await?;
} else {