use battery icon (#325)

This commit is contained in:
end-4
2024-03-15 22:59:05 +07:00
parent 14770aa80c
commit bc51fed29b
+1 -1
View File
@@ -108,7 +108,7 @@ const BarBattery = () => Box({
className: 'bar-batt',
homogeneous: true,
children: [
MaterialIcon('settings_heart', 'small'),
MaterialIcon('battery_full', 'small'),
],
setup: (self) => self.hook(Battery, box => {
box.toggleClassName('bar-batt-low', Battery.percent <= userOptions.battery.low);