From bf6abd301c3c1c7dc06a0f0af8a6a6d0dd21644f Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Tue, 27 Jan 2026 17:15:22 -0800 Subject: [PATCH] refactor notification syncing --- capacitor.config.ts | 20 +- src/app/components/ProfileCircles.svelte | 2 +- src/app/core/state.ts | 22 +- src/app/util/notifications.ts | 432 +++++++++++------------ src/routes/+layout.svelte | 14 +- src/routes/settings/alerts/+page.svelte | 9 +- 6 files changed, 245 insertions(+), 254 deletions(-) diff --git a/capacitor.config.ts b/capacitor.config.ts index 8875f8a0..51a259a4 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -1,11 +1,11 @@ -import type { CapacitorConfig } from '@capacitor/cli'; +import type {CapacitorConfig} from "@capacitor/cli" const config: CapacitorConfig = { - appId: 'social.flotilla', - appName: 'Flotilla', - webDir: 'build' + appId: "social.flotilla", + appName: "Flotilla", + webDir: "build", server: { - androidScheme: "https" + androidScheme: "https", }, android: { adjustMarginsForEdgeToEdge: false, @@ -23,14 +23,14 @@ const config: CapacitorConfig = { }, Badge: { persist: true, - autoClear: true + autoClear: true, }, }, // Use this for live reload https://capacitorjs.com/docs/guides/live-reload server: { - url: "http://192.168.1.65:1847", - cleartext: true + url: "http://192.168.1.148:1847", + cleartext: true, }, -}; +} -export default config; +export default config diff --git a/src/app/components/ProfileCircles.svelte b/src/app/components/ProfileCircles.svelte index f907ed6c..655aadc0 100644 --- a/src/app/components/ProfileCircles.svelte +++ b/src/app/components/ProfileCircles.svelte @@ -1,6 +1,6 @@