diff --git a/src/Layouts/HeaderBar.vala b/src/Layouts/HeaderBar.vala index fad4970da..b399d0cdc 100644 --- a/src/Layouts/HeaderBar.vala +++ b/src/Layouts/HeaderBar.vala @@ -78,7 +78,7 @@ public class Layouts.HeaderBar : Adw.Bin { css_classes = { "font-bold" } }; - start_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 4); + start_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 3); start_box.append (sidebar_button); start_box.append (back_button_revealer); start_box.append (title_label); diff --git a/src/Views/Pinboard.vala b/src/Views/Pinboard.vala index e2a826ecd..c35710ebc 100644 --- a/src/Views/Pinboard.vala +++ b/src/Views/Pinboard.vala @@ -162,6 +162,10 @@ public class Views.Pinboard : Adw.Bin { } private void valid_update_item (Objects.Item item) { + if (items.has_key (item.id)) { + items[item.id].update_request (); + } + if (items.has_key (item.id) && (!item.pinned || item.checked)) { items[item.id].hide_destroy (); items.unset (item.id);