Allow using context in the placeholder_text
method
This commit is contained in:
parent
cf3b875922
commit
c29ea9bdbc
17 changed files with 24 additions and 22 deletions
|
@ -157,7 +157,7 @@ impl OutlineViewDelegate {
|
|||
impl PickerDelegate for OutlineViewDelegate {
|
||||
type ListItem = ListItem;
|
||||
|
||||
fn placeholder_text(&self) -> Arc<str> {
|
||||
fn placeholder_text(&self, _cx: &mut WindowContext) -> Arc<str> {
|
||||
"Search buffer symbols...".into()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue