WIP
This commit is contained in:
parent
73c97d0c10
commit
a9d7c86307
3 changed files with 6 additions and 6 deletions
|
@ -313,9 +313,9 @@ async fn installation_id() -> Result<String> {
|
|||
}
|
||||
}
|
||||
|
||||
async fn restore_or_create_workspace(_app_state: &Arc<AppState>, mut _cx: AsyncAppContext) {
|
||||
async fn restore_or_create_workspace(app_state: &Arc<AppState>, mut cx: AsyncAppContext) {
|
||||
if let Some(location) = workspace2::last_opened_workspace_paths().await {
|
||||
cx.update(|cx| workspace2::open_paths(location.paths().as_ref(), app_state, None, cx))
|
||||
cx.update(|cx| workspace2::open_paths(location.paths().as_ref(), app_state, None, cx))?
|
||||
.await
|
||||
.log_err();
|
||||
} else if matches!(KEY_VALUE_STORE.read_kvp(FIRST_OPEN), Ok(None)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue