mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Should not update a shared album after resyncing
This commit is contained in:
parent
f4041f2d33
commit
3ad3fe5564
1 changed files with 3 additions and 1 deletions
|
@ -762,7 +762,9 @@ class _AlbumBrowserState extends State<AlbumBrowser>
|
|||
Future<void> _setAlbum(Album album) async {
|
||||
assert(album.provider is AlbumStaticProvider);
|
||||
final items = await PreProcessAlbum(AppDb())(widget.account, album);
|
||||
if (album.albumFile!.isOwned(widget.account.username)) {
|
||||
album = await _updateAlbumPostResync(album, items);
|
||||
}
|
||||
album = album.copyWith(
|
||||
provider: AlbumStaticProvider.of(album).copyWith(
|
||||
items: items,
|
||||
|
|
Loading…
Reference in a new issue