diff options
author | Eric Bailey <git@esb.lol> | 2024-09-11 21:47:25 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2024-09-11 21:47:25 -0500 |
commit | 6e78ce53d74e79e2349ab357c7270e30742d33a5 (patch) | |
tree | 4a236899ee901702e458dd0d9033a2b0b2bd706e /src/components/dialogs/nuxs/snoozing.ts | |
parent | c8b133863df5c6b417562f71f8a3c6feef280139 (diff) | |
download | voidsky-6e78ce53d74e79e2349ab357c7270e30742d33a5.tar.zst |
Dev helpers, string cleanup
Diffstat (limited to 'src/components/dialogs/nuxs/snoozing.ts')
-rw-r--r-- | src/components/dialogs/nuxs/snoozing.ts | 4 |
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 |