Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 19, 2023
1 parent 543d407 commit 9dbcf33
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/Widgets/AppBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public class He.AppBar : He.Bin {
sub_box.remove (btn_box);
title_box.append (btn_box);
viewtitle_mini.add_css_class ("title");
flat = false;
main_box.add_css_class ("appbar");
main_box.remove_css_class ("flat-appbar");
if (!_show_buttons)
top_box.margin_top = 0;
else
Expand All @@ -103,9 +104,8 @@ public class He.AppBar : He.Bin {
title_box.remove (btn_box);
sub_box.append (btn_box);
viewtitle_mini.remove_css_class ("title");
if (flat == false) {
flat = true;
}
main_box.add_css_class ("flat-appbar");
main_box.remove_css_class ("appbar");
if (!_show_buttons)
top_box.margin_top = 36;
else
Expand All @@ -125,8 +125,9 @@ public class He.AppBar : He.Bin {
sub_box.remove (btn_box);
title_box.append (btn_box);
viewtitle_mini.add_css_class ("title");
flat = false;
if (!show_buttons)
main_box.add_css_class ("appbar");
main_box.remove_css_class ("flat-appbar");
if (!_show_buttons)
top_box.margin_top = 0;
else
top_box.margin_top = 0;
Expand All @@ -143,9 +144,8 @@ public class He.AppBar : He.Bin {
title_box.remove (btn_box);
sub_box.append (btn_box);
viewtitle_mini.remove_css_class ("title");
if (flat == false) {
flat = true;
}
main_box.add_css_class ("flat-appbar");
main_box.remove_css_class ("appbar");
if (!_show_buttons)
top_box.margin_top = 36;
else
Expand Down

0 comments on commit 9dbcf33

Please sign in to comment.