Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
Tekk-Know authored Sep 20, 2023
1 parent b1f5a58 commit 48454e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function SetTrayDetails(tray) {

function GetBatteryIconPath(val) {
let iconName;
iconName = Math.floor(7/10) * 10;
iconName = Math.floor(val/10) * 10;
return `src/assets/battery_${iconName}.png`;
}

Expand Down

0 comments on commit 48454e7

Please sign in to comment.