Bar SysMon: converted to Layout

This commit is contained in:
LemmyCook 2025-09-05 17:44:04 -04:00
parent f06d0f4e1e
commit 94293e4c63
2 changed files with 105 additions and 104 deletions

View file

@ -22,7 +22,7 @@ Singleton {
if (bytesPerSecond < 1024) {
return bytesPerSecond.toFixed(0) + "B/s"
} else if (bytesPerSecond < 1024 * 1024) {
return (bytesPerSecond / 1024).toFixed(1) + "KB/s"
return (bytesPerSecond / 1024).toFixed(0) + "KB/s"
} else if (bytesPerSecond < 1024 * 1024 * 1024) {
return (bytesPerSecond / (1024 * 1024)).toFixed(1) + "MB/s"
} else {