remove ws, fmt
This commit is contained in:
parent
5316f40967
commit
cd45c2d9cf
17 changed files with 96 additions and 97 deletions
|
|
@ -13,8 +13,9 @@ Row {
|
|||
|
||||
Text {
|
||||
text: {
|
||||
if (root.charging) return "";
|
||||
const icons = ["","","","","","","","","","",""];
|
||||
if (root.charging)
|
||||
return "";
|
||||
const icons = ["", "", "", "", "", "", "", "", "", "", ""];
|
||||
return icons[Math.min(10, Math.floor(root.pct / 10))];
|
||||
}
|
||||
color: root.pct < 15 ? M.Theme.base08 : M.Theme.base05
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue