fix(notifications): remove settings button
This commit is contained in:
parent
6a448a35cb
commit
06d81111e7
1 changed files with 1 additions and 5 deletions
|
|
@ -374,9 +374,6 @@ impl cosmic::Application for Notifications {
|
||||||
.text_size(14)
|
.text_size(14)
|
||||||
.width(Length::Fill)]);
|
.width(Length::Fill)]);
|
||||||
|
|
||||||
let settings = menu_button(text(fl!("notification-settings")).size(14))
|
|
||||||
.on_press(Message::OpenSettings);
|
|
||||||
|
|
||||||
let notifications = if self.cards.is_empty() {
|
let notifications = if self.cards.is_empty() {
|
||||||
row![container(
|
row![container(
|
||||||
column![
|
column![
|
||||||
|
|
@ -539,10 +536,9 @@ impl cosmic::Application for Notifications {
|
||||||
let main_content = column![
|
let main_content = column![
|
||||||
padded_control(divider::horizontal::default()),
|
padded_control(divider::horizontal::default()),
|
||||||
notifications,
|
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)
|
.align_items(Alignment::Start)
|
||||||
.padding([8, 0]);
|
.padding([8, 0]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue