From 8890454059ba690647fd9e1bcded617f97d9d6a0 Mon Sep 17 00:00:00 2001 From: Ryan Kornheisl Date: Sun, 18 Aug 2024 06:49:20 -0400 Subject: [PATCH] Fix inconsistent update view behavior (#2205) * Ensure stack widgets are visible so they can be switched to * Fix loading view not showing by default --- src/Views/AppListUpdateView.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Views/AppListUpdateView.vala b/src/Views/AppListUpdateView.vala index 2aa618c7b..9a4bb26e0 100644 --- a/src/Views/AppListUpdateView.vala +++ b/src/Views/AppListUpdateView.vala @@ -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);