move bookmark status detection to the navigation level

This commit is contained in:
yggverse 2024-11-12 18:38:10 +02:00
parent 367b4d017b
commit b70a5a7867
2 changed files with 2 additions and 4 deletions

View file

@ -20,9 +20,7 @@ impl Bookmark {
}
// Actions
pub fn update(&self) {
let is_enabled = false; // @TODO DB
pub fn update(&self, is_enabled: bool) {
// Update actions
self.window_action
.bookmark()