From b6ab7dc8a72e44dd9d6537e87cb365c102065c8c Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 26 Jan 2025 12:36:11 -0600 Subject: [PATCH] Update sleep timer modal to not show negative time remaining --- components/modals/SleepTimerModal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modals/SleepTimerModal.vue b/components/modals/SleepTimerModal.vue index b210fddc..bdae5a32 100644 --- a/components/modals/SleepTimerModal.vue +++ b/components/modals/SleepTimerModal.vue @@ -85,6 +85,7 @@ export default { return [5, 10, 15, 30, 45, 60, 90] }, timeRemainingPretty() { + if (this.currentTime <= 0) return '0:00' return this.$secondsToTimestamp(this.currentTime) }, isIos() {