fix(battery): settings button
This commit is contained in:
parent
f206a55194
commit
d9d864f14f
1 changed files with 5 additions and 6 deletions
|
|
@ -685,14 +685,13 @@ impl cosmic::Application for CosmicBatteryApplet {
|
|||
.into(),
|
||||
);
|
||||
}
|
||||
content.push(padded_control(divider::horizontal::default()).into());
|
||||
}
|
||||
|
||||
content.push(
|
||||
menu_button(row![text(fl!("power-settings"))
|
||||
.size(14)
|
||||
.width(Length::Fill)
|
||||
.horizontal_alignment(Horizontal::Left)])
|
||||
.on_press(Message::OpenSettings)
|
||||
.into(),
|
||||
menu_button(text(fl!("power-settings")).size(14).width(Length::Fill))
|
||||
.on_press(Message::OpenSettings)
|
||||
.into(),
|
||||
);
|
||||
|
||||
self.core
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue