From df2e553d8f65e5f054af21ceb00417cb6bba62ca Mon Sep 17 00:00:00 2001 From: kyuketski Date: Sat, 30 Aug 2025 23:05:00 +0300 Subject: [PATCH] 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. --- Auto-Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Auto-Image.js b/Auto-Image.js index 4711572..b87e9a9 100644 --- a/Auto-Image.js +++ b/Auto-Image.js @@ -6490,7 +6490,7 @@ 'warning', { threshold, - current, + current: Math.floor(current), time: timeText, }, true