Stop onboarding page from showing up instead of welcome page (#34845)
Anthony Eid
created 4 months ago
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
Change summary
crates/zed/src/main.rs | 5 -----
1 file changed, 5 deletions(-)
Detailed changes
@@ -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 {