Add support for iOS and android widgets
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user