Allow using context in the placeholder_text method
This commit is contained in:
committed by
Kirill Bulatov
parent
cf3b875922
commit
c29ea9bdbc
@@ -99,7 +99,7 @@ impl BaseKeymapSelectorDelegate {
|
||||
impl PickerDelegate for BaseKeymapSelectorDelegate {
|
||||
type ListItem = ui::ListItem;
|
||||
|
||||
fn placeholder_text(&self) -> Arc<str> {
|
||||
fn placeholder_text(&self, _cx: &mut WindowContext) -> Arc<str> {
|
||||
"Select a base keymap...".into()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user