Add "Zed > Sign" In menu item

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo 2021-08-24 08:29:36 -06:00
parent e4a232acc9
commit 9b636fb81e
6 changed files with 29 additions and 10 deletions

View file

@ -791,7 +791,7 @@ impl Workspace {
let platform = cx.platform();
let task = cx.spawn(|this, mut cx| async move {
rpc.log_in_and_connect(cx.clone()).await?;
rpc.authenticate_and_connect(cx.clone()).await?;
let share_task = this.update(&mut cx, |this, cx| {
let worktree = this.worktrees.iter().next()?;
@ -823,7 +823,7 @@ impl Workspace {
let languages = self.languages.clone();
let task = cx.spawn(|this, mut cx| async move {
rpc.log_in_and_connect(cx.clone()).await?;
rpc.authenticate_and_connect(cx.clone()).await?;
let worktree_url = cx
.platform()