about summary refs log tree commit diff
path: root/src/components/dialogs/nuxs/snoozing.ts
diff options
context:
space:
mode:
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