--- notejot/src/Views/NoteContentView.vala 2024-05-20 13:15:43.009048836 +0300 +++ notejot/src/Views/NoteContentView.vala 2024-05-20 14:43:35.528186066 +0300 @@ -247,7 +247,7 @@ if (((Adw.Leaflet)MiscUtils.find_ancestor_of_type(this)).folded) { back2_button.visible = false; } else { - back2_button.visible = ((MainWindow)MiscUtils.find_ancestor_of_type(this)).sgrid.get_visible_child_name () == "notegrid" != false ? true : false; + back2_button.visible = ((MainWindow)MiscUtils.find_ancestor_of_type(this)).sgrid.get_visible_child_name() == "notegrid"; } back2_button.clicked.connect (() => { ((Adw.Leaflet)MiscUtils.find_ancestor_of_type(this)).set_visible_child (((MainWindow)MiscUtils.find_ancestor_of_type(this)).sgrid); @@ -699,3 +699,4 @@ return ""; } } +