fenty cart
This commit is contained in:
parent
10e36bcce0
commit
9de4979878
1 changed files with 1 additions and 3 deletions
|
@ -122,12 +122,10 @@ function Volume() {
|
|||
|
||||
|
||||
function BatteryLabel() {
|
||||
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0)
|
||||
const value = battery.percent();
|
||||
// const icon = battery.bind("percent").as(p =>
|
||||
// `battery-level-${Math.floor(p / 10) * 10}-symbolic`)
|
||||
|
||||
console.log(value);
|
||||
|
||||
return Widget.Box({
|
||||
class_name: "battery",
|
||||
visible: battery.bind("available"),
|
||||
|
|
Loading…
Reference in a new issue