From 305ebf8734dd83122219247f3cd106d97b9eb6e6 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Mon, 11 Dec 2023 13:08:24 +0100 Subject: [PATCH] Fixed CC placeholder not showing on startup. Fixes #351 --- src/controlCenter/controlCenter.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controlCenter/controlCenter.vala b/src/controlCenter/controlCenter.vala index 44dcfaa..28acdd2 100644 --- a/src/controlCenter/controlCenter.vala +++ b/src/controlCenter/controlCenter.vala @@ -220,7 +220,8 @@ namespace SwayNotificationCenter { return true; }); - // Switches the stack page depending on the + stack.set_visible_child_name (STACK_PLACEHOLDER_PAGE); + // Switches the stack page depending on the amount of notifications list_box.add.connect (() => { stack.set_visible_child_name (STACK_NOTIFICATIONS_PAGE); });