fix(mobile): clear album provider on logout (#5477)

This commit is contained in:
Fynn Petersen-Frey 2023-12-04 17:21:05 +01:00 committed by GitHub
parent 812e67d55d
commit bdbaa166d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View file

@ -401,6 +401,10 @@ class SyncService {
final Album a = await Album.remote(dto);
await _db.writeTxn(() => _db.albums.store(a));
} else {
_log.warning(
"Failed to add album from server: assetCount ${dto.assetCount} != "
"asset array length ${dto.assets.length} for album ${dto.albumName}");
}
}