draft suggestion autocomplete feature

This commit is contained in:
yggverse 2025-03-10 17:22:21 +02:00
parent 1c4bde4004
commit 5b0de227c0
7 changed files with 201 additions and 4 deletions

View file

@ -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)));
}