Skip to content

Commit

Permalink
Same as before.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lains committed Feb 25, 2021
1 parent 6f87f44 commit 6f802c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Views/ListView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ namespace Notejot {

protected bool do_filter_list (Gtk.ListBoxRow row) {
if (search_text.length > 0) {
if (((Widgets.Note)row).get_title ().down ().contains (search_text.down ())) {
return ((Widgets.Note)row).get_title ().down ().contains (search_text.down ());
}
return ((Widgets.Note)row).get_title ().down ().contains (search_text.down ());
}

return true;
Expand Down

0 comments on commit 6f802c5

Please sign in to comment.