Skip to content

Commit

Permalink
[mob] Avoid FileUploader cache clear in case of autoLogout
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Jul 1, 2024
1 parent b9972e1 commit 49f96db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mobile/lib/core/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 49f96db

Please sign in to comment.