Focus chat input editor after signing in

This commit is contained in:
Antonio Scandurra
2021-09-07 13:57:30 +02:00
parent 09bb42c168
commit 058691d2b2
6 changed files with 78 additions and 51 deletions
+2 -2
View File
@@ -798,7 +798,7 @@ impl Workspace {
let platform = cx.platform();
let task = cx.spawn(|this, mut cx| async move {
rpc.authenticate_and_connect(cx.clone()).await?;
rpc.authenticate_and_connect(&cx).await?;
let share_task = this.update(&mut cx, |this, cx| {
let worktree = this.worktrees.iter().next()?;
@@ -830,7 +830,7 @@ impl Workspace {
let languages = self.languages.clone();
let task = cx.spawn(|this, mut cx| async move {
rpc.authenticate_and_connect(cx.clone()).await?;
rpc.authenticate_and_connect(&cx).await?;
let worktree_url = cx
.platform()