Change placeholder text and remove cx notify call

This commit is contained in:
Alvaro Parker 2025-08-10 13:13:55 -04:00
parent 2100695387
commit a13e87b82f
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -233,7 +233,7 @@ impl PickerDelegate for StashListDelegate {
type ListItem = ListItem;
fn placeholder_text(&self, _window: &mut Window, _cx: &mut App) -> Arc<str> {
"Select stash&".into()
"Select a stash…".into()
}
fn editor_position(&self) -> PickerEditorPosition {

View file

@ -3817,7 +3817,6 @@ impl Repository {
})
})?
.await??;
this.update(cx, |_, cx| cx.notify())?;
Ok(())
})
}
@ -4641,7 +4640,6 @@ impl Repository {
updates_tx: Option<mpsc::UnboundedSender<DownstreamUpdate>>,
cx: &mut Context<Self>,
) {
println!("paths changed with updates_tx: {:?}", updates_tx);
self.paths_needing_status_update.extend(paths);
let this = cx.weak_entity();