fix(battery): remove settings button

This commit is contained in:
Ashley Wulber 2024-05-02 17:26:57 -04:00 committed by Jeremy Soller
parent 25447c80e4
commit 6a448a35cb

View file

@ -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]))