mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
draft suggestion autocomplete feature
This commit is contained in:
parent
1c4bde4004
commit
5b0de227c0
7 changed files with 201 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ impl Bookmark for Button {
|
|||
}
|
||||
|
||||
fn update(&self, profile: &Profile, request: &Entry) {
|
||||
let has_bookmark = profile.bookmark.contains_request(&request.text());
|
||||
let has_bookmark = profile.bookmark.is_match_request(&request.text());
|
||||
self.set_icon_name(icon_name(has_bookmark));
|
||||
self.set_tooltip_text(Some(tooltip_text(has_bookmark)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue