From b643080117d44f86a68d86a5baa178b4b2867ecb Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 28 Jan 2025 11:18:00 +0200 Subject: [PATCH] Use proper names for actions' async context (#23763) Post-PR merge fixes. Release Notes: - N/A --- crates/project/src/worktree_store.rs | 2 +- crates/worktree/src/worktree.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/project/src/worktree_store.rs b/crates/project/src/worktree_store.rs index 06b1cf60b00c741dbeb1516aa20263a4df8e0457..01bd67d6fbd14390828aab489fc9b19c73bd0b3a 100644 --- a/crates/project/src/worktree_store.rs +++ b/crates/project/src/worktree_store.rs @@ -1093,7 +1093,7 @@ impl WorktreeStore { pub async fn handle_expand_all_for_project_entry( this: Entity, envelope: TypedEnvelope, - mut cx: AsyncAppContext, + mut cx: AsyncApp, ) -> Result { let entry_id = ProjectEntryId::from_proto(envelope.payload.entry_id); let worktree = this diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rs index ee9803efaf083f6d4bfcd257e71d1bc54c72733d..f8336484a303c12484d89cc20f698f3315eef223 100644 --- a/crates/worktree/src/worktree.rs +++ b/crates/worktree/src/worktree.rs @@ -1188,7 +1188,7 @@ impl Worktree { pub async fn handle_expand_all_for_entry( this: Entity, request: proto::ExpandAllForProjectEntry, - mut cx: AsyncAppContext, + mut cx: AsyncApp, ) -> Result { let task = this.update(&mut cx, |this, cx| { this.expand_all_for_entry(ProjectEntryId::from_proto(request.entry_id), cx)