Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Feb 22, 2024
1 parent 3fc9ee1 commit 8298624
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Layouts/SectionRow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,12 @@ public class Layouts.SectionRow : Gtk.ListBoxRow {
items_checked [item.id].hide_destroy ();
items_checked.unset (item.id);
}
}:
}

// vala-lint=no-space
if (item.project_id == section.project_id && item.section_id == section.id && item.parent_id == "") {
if (item.project_id == section.project_id &&
item.section_id == section.id &&
item.parent_id == "") {
add_item (item);
}
});
Expand All @@ -361,8 +363,8 @@ public class Layouts.SectionRow : Gtk.ListBoxRow {
}

// vala-lint=no-space
if (row.item.project_id == section.project_id &&
row.item.section_id != section.id &&
if (row.item.project_id == section.project_id &&
row.item.section_id != section.id &&
old_section_id == section.id) {
if (items.has_key (row.item.id)) {
items.unset (row.item.id);
Expand Down

0 comments on commit 8298624

Please sign in to comment.