Skip to content

Commit

Permalink
MainWindow: Hide update button
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenzahl authored and danirabbit committed Mar 12, 2024
1 parent a6978cd commit a59bba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,10 @@ public class AppCenter.MainWindow : Gtk.ApplicationWindow {
headerbar.pack_start (return_button);
if (!Utils.is_running_in_guest_session ()) {
headerbar.pack_end (menu_button);
headerbar.pack_end (view_mode_revealer);
} else {
headerbar.pack_end (new Gtk.Label (""));
}
headerbar.pack_end (view_mode_revealer);

var homepage = new Homepage ();
installed_view = new Views.AppListUpdateView ();
Expand Down

0 comments on commit a59bba4

Please sign in to comment.