fix(battery): remove settings button
This commit is contained in:
parent
25447c80e4
commit
6a448a35cb
1 changed files with 0 additions and 7 deletions
|
|
@ -645,15 +645,8 @@ impl cosmic::Application for CosmicBatteryApplet {
|
|||
.into(),
|
||||
);
|
||||
}
|
||||
content.push(padded_control(divider::horizontal::default()).into());
|
||||
}
|
||||
|
||||
content.push(
|
||||
menu_button(text(fl!("power-settings")).size(14).width(Length::Fill))
|
||||
.on_press(Message::OpenSettings)
|
||||
.into(),
|
||||
);
|
||||
|
||||
self.core
|
||||
.applet
|
||||
.popup_container(Column::with_children(content).padding([8, 0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue