Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Stop onboarding page from showing up instead of welcome page (#34845)
Anthony Eid241acbe4be9d
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rsindex 9d85923ca2f..a9d3d63381d 100644--- a/crates/zed/src/main.rs+++ b/crates/zed/src/main.rs@@ -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 {