refresh fix
This commit is contained in:
parent
b63a6966ca
commit
443ea47d41
1 changed files with 2 additions and 2 deletions
|
@ -98,9 +98,9 @@ class MediaStoreSource extends CollectionSource {
|
|||
}
|
||||
},
|
||||
onDone: () async {
|
||||
if (allNewEntries.isNotEmpty) {
|
||||
addPendingEntries();
|
||||
addPendingEntries();
|
||||
|
||||
if (allNewEntries.isNotEmpty) {
|
||||
debugPrint('$runtimeType refresh ${stopwatch.elapsed} save new entries');
|
||||
await metadataDb.saveEntries(allNewEntries);
|
||||
|
||||
|
|
Loading…
Reference in a new issue