Use proper names for actions' async context (#23763)
Post-PR merge fixes. Release Notes: - N/A
This commit is contained in:
parent
02af8dde16
commit
b643080117
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue