From 06d81111e7109afcb3f965457904496afde88355 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Thu, 2 May 2024 17:32:08 -0400 Subject: [PATCH] fix(notifications): remove settings button --- cosmic-applet-notifications/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cosmic-applet-notifications/src/lib.rs b/cosmic-applet-notifications/src/lib.rs index 643e9589..cad3c299 100644 --- a/cosmic-applet-notifications/src/lib.rs +++ b/cosmic-applet-notifications/src/lib.rs @@ -374,9 +374,6 @@ impl cosmic::Application for Notifications { .text_size(14) .width(Length::Fill)]); - let settings = menu_button(text(fl!("notification-settings")).size(14)) - .on_press(Message::OpenSettings); - let notifications = if self.cards.is_empty() { row![container( column![ @@ -539,10 +536,9 @@ impl cosmic::Application for Notifications { let main_content = column![ padded_control(divider::horizontal::default()), notifications, - padded_control(divider::horizontal::default()) ]; - let content = column![do_not_disturb, main_content, settings] + let content = column![do_not_disturb, main_content] .align_items(Alignment::Start) .padding([8, 0]);