Add support for iOS and android widgets

This commit is contained in:
Mo Tarbin
2026-07-18 17:10:23 -04:00
parent 74d658f928
commit b73586f81b
42 changed files with 2898 additions and 14 deletions

View File

@@ -145,6 +145,13 @@ class ApiClient {
} catch (e) {
console.error('Error clearing image cache on logout', e)
}
try {
// Dynamic import sidesteps the ApiClient <-> WidgetService module cycle
const { clearWidgetData } = await import('../service/WidgetService')
await clearWidgetData()
} catch (e) {
console.error('Error clearing widget data on logout', e)
}
try {
await logout()
} catch (e) {