fixed album bookmarks & pins reset when rescanning items

This commit is contained in:
Thibault Deckers 2021-09-14 16:53:48 +09:00
parent ffdbb6e857
commit 4c13f665df

View file

@ -128,9 +128,9 @@ abstract class CollectionSource with SourceBase, AlbumMixin, LocationMixin, TagM
_rawEntries.clear();
_invalidate();
updateDirectories();
updateLocations();
updateTags();
// do not update directories/locations/tags here
// as it could reset filter dependent settings (pins, bookmarks, etc.)
// caller should take care of updating these at the right time
}
Future<void> _moveEntry(AvesEntry entry, Map newFields, {required bool persist}) async {