about summary refs log tree commit diff
path: root/src/components/dialogs/nuxs/snoozing.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-09-11 21:47:25 -0500
committerEric Bailey <git@esb.lol>2024-09-11 21:47:25 -0500
commit6e78ce53d74e79e2349ab357c7270e30742d33a5 (patch)
tree4a236899ee901702e458dd0d9033a2b0b2bd706e /src/components/dialogs/nuxs/snoozing.ts
parentc8b133863df5c6b417562f71f8a3c6feef280139 (diff)
downloadvoidsky-6e78ce53d74e79e2349ab357c7270e30742d33a5.tar.zst
Dev helpers, string cleanup
Diffstat (limited to 'src/components/dialogs/nuxs/snoozing.ts')
-rw-r--r--src/components/dialogs/nuxs/snoozing.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/dialogs/nuxs/snoozing.ts b/src/components/dialogs/nuxs/snoozing.ts
index a36efd8ed..91effd050 100644
--- a/src/components/dialogs/nuxs/snoozing.ts
+++ b/src/components/dialogs/nuxs/snoozing.ts
@@ -5,6 +5,10 @@ export function snooze() {
   device.set(['lastNuxDialog'], new Date().toISOString())
 }
 
+export function unsnooze() {
+  device.set(['lastNuxDialog'], undefined)
+}
+
 export function isSnoozed() {
   const lastNuxDialog = device.get(['lastNuxDialog'])
   if (!lastNuxDialog) return false