Change placeholder text and remove cx notify call
This commit is contained in:
parent
2100695387
commit
a13e87b82f
2 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue