asuefiwehfo
This commit is contained in:
parent
9de4979878
commit
1d789a6449
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ function Volume() {
|
||||||
|
|
||||||
|
|
||||||
function BatteryLabel() {
|
function BatteryLabel() {
|
||||||
const value = battery.percent();
|
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0)
|
||||||
// const icon = battery.bind("percent").as(p =>
|
// const icon = battery.bind("percent").as(p =>
|
||||||
// `battery-level-${Math.floor(p / 10) * 10}-symbolic`)
|
// `battery-level-${Math.floor(p / 10) * 10}-symbolic`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue