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(),
|
.into(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
content.push(padded_control(divider::horizontal::default()).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
content.push(
|
content.push(
|
||||||
menu_button(row![text(fl!("power-settings"))
|
menu_button(text(fl!("power-settings")).size(14).width(Length::Fill))
|
||||||
.size(14)
|
.on_press(Message::OpenSettings)
|
||||||
.width(Length::Fill)
|
.into(),
|
||||||
.horizontal_alignment(Horizontal::Left)])
|
|
||||||
.on_press(Message::OpenSettings)
|
|
||||||
.into(),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
self.core
|
self.core
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue