Skip to content

Commit

Permalink
fix #1150
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Mar 18, 2024
1 parent 736c9d3 commit b93e9d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layouts/HeaderBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions src/Views/Pinboard.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b93e9d3

Please sign in to comment.