Add a missing notify when updating the project diff (#26396)

Closes #ISSUE

Release Notes:

- Git Beta: Fixed a bug that caused the project diff not to update in
response to git-related events

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Cole Miller 2025-03-10 16:47:35 -04:00 committed by GitHub
parent a2d6df3ed6
commit 63dab5f891
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -474,7 +474,10 @@ impl ProjectDiff {
})?;
}
}
this.update(&mut cx, |this, _| this.pending_scroll.take())?;
this.update(&mut cx, |this, cx| {
this.pending_scroll.take();
cx.notify();
})?;
}
Ok(())