fix(ui/status): round down current charges in noChargesThreshold message

- Updated `noChargesThreshold` status message to use `Math.floor(current)` instead of raw `current`.
- Ensures displayed charge count is always an integer in the Status block.

Benefits:
- Prevents confusing non-integer values in the UI.
- Improves readability and consistency of charge status display.
This commit is contained in:
kyuketski committed 2025-09-01 14:11:24 +03:00
1 parent a5fc3469ca
commit df2e553d8f
1 file changed
+1 -1
+1 -1
View File
@@ -6490,7 +6490,7 @@
'warning',
{
threshold,
current,
current: Math.floor(current),
time: timeText,
},
true