From cc23a8130d52e19ed5b6d02cdfe695143dc0973c Mon Sep 17 00:00:00 2001 From: rojonaitor Date: Mon, 1 Jan 2024 16:16:24 -0600 Subject: [PATCH] fix: detect release to start timer on tap --- src/components/timer/TimerWidgets.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/timer/TimerWidgets.tsx b/src/components/timer/TimerWidgets.tsx index 55727d8a..0b96f167 100644 --- a/src/components/timer/TimerWidgets.tsx +++ b/src/components/timer/TimerWidgets.tsx @@ -10,7 +10,7 @@ export default function TimerWidgets() { const { isSolving, timerStatus } = useTimerStore(); const { lang, settings } = useSettingsModalStore(); const { global, session } = useTimerStatistics(); - if (isSolving || timerStatus !== "IDLE") return null; + return ( <>
@@ -25,7 +25,11 @@ export default function TimerWidgets() {
) : null} -
+