diff --git a/src/app/browser/window/tab/item/page/navigation.rs b/src/app/browser/window/tab/item/page/navigation.rs index 3fa30903..5d70b3e3 100644 --- a/src/app/browser/window/tab/item/page/navigation.rs +++ b/src/app/browser/window/tab/item/page/navigation.rs @@ -65,7 +65,7 @@ impl Navigation { // Actions pub fn update(&self, progress_fraction: Option) { - self.bookmark.update(); + self.bookmark.update(false); // @TODO DB from request self.history.update(); self.home.update(self.request.uri()); self.reload diff --git a/src/app/browser/window/tab/item/page/navigation/bookmark.rs b/src/app/browser/window/tab/item/page/navigation/bookmark.rs index 83536611..a9c4da37 100644 --- a/src/app/browser/window/tab/item/page/navigation/bookmark.rs +++ b/src/app/browser/window/tab/item/page/navigation/bookmark.rs @@ -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()