Skip to content

Commit

Permalink
Update DisplaysView.vala
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Feb 12, 2024
1 parent 0bd7d2b commit 8e9c1d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Views/DisplaysView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public class Display.DisplaysView : Gtk.Box {
action_bar.pack_end (button_box);

orientation = VERTICAL;

append (new Gtk.Separator (HORIZONTAL));
append (displays_overlay);
append (action_bar);
Expand Down Expand Up @@ -149,7 +148,7 @@ public class Display.DisplaysView : Gtk.Box {
rotation_lock_box.append (rotation_lock_label);
rotation_lock_box.append (rotation_lock_switch);

touchscreen_settings.bind ("orientation-lock", rotation_lock_switch, "state", SettingsBindFlags.DEFAULT);
touchscreen_settings.bind ("orientation-lock", rotation_lock_switch, "state", DEFAULT);

}
}
Expand Down

0 comments on commit 8e9c1d2

Please sign in to comment.