cached collection before calling getCollectionKey
This commit is contained in:
parent
b5f05b0afd
commit
c4e19c56cf
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ class CollectionsService {
|
|||
}
|
||||
|
||||
void _cacheCollectionAttributes(Collection collection) {
|
||||
_collectionIDToCollections[collection.id] = collection;
|
||||
final updatedCollection = getCollectionWithDecryptedName(collection);
|
||||
if (collection.attributes.encryptedPath != null) {
|
||||
_localCollections[decryptCollectionPath(collection)] = updatedCollection;
|
||||
|
|
Loading…
Add table
Reference in a new issue