From 4c13f665df2b57e5e11f40f77b427cae5f471a36 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Tue, 14 Sep 2021 16:53:48 +0900 Subject: [PATCH] fixed album bookmarks & pins reset when rescanning items --- lib/model/source/collection_source.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/model/source/collection_source.dart b/lib/model/source/collection_source.dart index 2a8579a02..a9d34a885 100644 --- a/lib/model/source/collection_source.dart +++ b/lib/model/source/collection_source.dart @@ -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 _moveEntry(AvesEntry entry, Map newFields, {required bool persist}) async {