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
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}");
}
}