Add battery icon back

This commit is contained in:
Jas-SinghFSU
2024-07-01 19:50:16 -07:00
parent 8f54a92e80
commit 135cb20be4

View File

@@ -17,12 +17,15 @@ const BatteryLabel = () => {
class_name: "battery", class_name: "battery",
visible: battery.bind("available"), visible: battery.bind("available"),
children: [ children: [
// Widget.Icon({ icon }), Widget.Icon({ icon }),
Widget.LevelBar({ Widget.Label({
widthRequest: 20, label: battery.bind("percent").as((p) => (`${p}%`)),
vpack: "center", })
value, // Widget.LevelBar({
}), // widthRequest: 20,
// vpack: "center",
// value,
// }),
], ],
}), }),
isVis, isVis,