From 6208979ce9d94d0434a374d00f577dd4074722b8 Mon Sep 17 00:00:00 2001 From: sctanf <36978460+sctanf@users.noreply.github.com> Date: Wed, 17 Dec 2025 23:48:00 -0600 Subject: [PATCH] TrackerBattery battery level tooltip if not shown --- gui/src/components/tracker/TrackerBattery.tsx | 74 +++++++++++-------- 1 file changed, 44 insertions(+), 30 deletions(-) diff --git a/gui/src/components/tracker/TrackerBattery.tsx b/gui/src/components/tracker/TrackerBattery.tsx index d867f63e3..68dcf2a5d 100644 --- a/gui/src/components/tracker/TrackerBattery.tsx +++ b/gui/src/components/tracker/TrackerBattery.tsx @@ -2,6 +2,7 @@ import { useConfig } from '@/hooks/config'; import { useLocaleConfig } from '@/i18n/config'; import { BatteryIcon } from '@/components/commons/icon/BatteryIcon'; import { Typography } from '@/components/commons/Typography'; +import { Tooltip } from '@/components/commons/Tooltip'; export function TrackerBattery({ value, @@ -36,36 +37,49 @@ export function TrackerBattery({ const showVoltage = moreInfo && voltage && debug; return ( -