Use proper names for actions' async context (#23763)

Kirill Bulatov created

Post-PR merge fixes.

Release Notes:

- N/A

Change summary

crates/project/src/worktree_store.rs | 2 +-
crates/worktree/src/worktree.rs      | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

crates/project/src/worktree_store.rs 🔗

@@ -1093,7 +1093,7 @@ impl WorktreeStore {
     pub async fn handle_expand_all_for_project_entry(
         this: Entity<Self>,
         envelope: TypedEnvelope<proto::ExpandAllForProjectEntry>,
-        mut cx: AsyncAppContext,
+        mut cx: AsyncApp,
     ) -> Result<proto::ExpandAllForProjectEntryResponse> {
         let entry_id = ProjectEntryId::from_proto(envelope.payload.entry_id);
         let worktree = this

crates/worktree/src/worktree.rs 🔗

@@ -1188,7 +1188,7 @@ impl Worktree {
     pub async fn handle_expand_all_for_entry(
         this: Entity<Self>,
         request: proto::ExpandAllForProjectEntry,
-        mut cx: AsyncAppContext,
+        mut cx: AsyncApp,
     ) -> Result<proto::ExpandAllForProjectEntryResponse> {
         let task = this.update(&mut cx, |this, cx| {
             this.expand_all_for_entry(ProjectEntryId::from_proto(request.entry_id), cx)