diff --git a/mobile/lib/core/configuration.dart b/mobile/lib/core/configuration.dart index 92bb31e7634..1398d9971ac 100644 --- a/mobile/lib/core/configuration.dart +++ b/mobile/lib/core/configuration.dart @@ -216,8 +216,9 @@ class Configuration { await UploadLocksDB.instance.clearTable(); await IgnoredFilesService.instance.reset(); await TrashDB.instance.clearTable(); - FileUploader.instance.clearCachedUploadURLs(); if (!autoLogout) { + // Following services won't be initialized if it's the case of autoLogout + FileUploader.instance.clearCachedUploadURLs(); CollectionsService.instance.clearCache(); FavoritesService.instance.clearCache(); MemoriesService.instance.clearCache();