From 2b6f87f0aa425c76bec1be2da13799f2dcf783f2 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Wed, 20 Nov 2024 19:55:51 -0700 Subject: [PATCH] change the notification detection to our own variables, and save the selected time --- src/App.vue | 56 ++++-- src/components/PushNotificationPermission.vue | 79 ++++++-- src/components/UserNameDialog.vue | 7 +- src/constants/app.ts | 3 +- src/db/tables/settings.ts | 6 +- src/router/index.ts | 5 + src/views/AccountViewView.vue | 172 ++++++++++-------- src/views/HelpNotificationTypesView.vue | 68 +++++++ 8 files changed, 286 insertions(+), 110 deletions(-) create mode 100644 src/views/HelpNotificationTypesView.vue diff --git a/src/App.vue b/src/App.vue index 4210b890f..3170d8eb1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -229,7 +229,7 @@ ? notification.onCancel(stopAsking) : null; close(notification.id); - stopAsking = false; // reset value + stopAsking = false; // reset value for next time they open this modal " class="block w-full text-center text-md font-bold uppercase bg-slate-600 text-white px-2 py-2 rounded-md" > @@ -292,7 +292,7 @@