Skip to content

Commit

Permalink
Fix inconsistent update view behavior (#2205)
Browse files Browse the repository at this point in the history
* Ensure stack widgets are visible so they can be switched to

* Fix loading view not showing by default
  • Loading branch information
zeebok authored Aug 18, 2024
1 parent 6474da5 commit 8890454
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Views/AppListUpdateView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,13 @@ namespace AppCenter.Views {
main_box.add (header_revealer);
main_box.add (scrolled);
main_box.get_style_context ().add_class (Gtk.STYLE_CLASS_VIEW);
main_box.show_all ();

var stack = new Gtk.Stack () {
transition_type = UNDER_UP
};
stack.add (main_box);
stack.add (loading_view);
stack.add (main_box);

add (stack);

Expand Down

0 comments on commit 8890454

Please sign in to comment.