Fix cover picked for Recognize person

This commit is contained in:
Ming Ming 2023-07-17 01:19:14 +08:00
parent 738883387a
commit d5172bdd4f

View file

@ -19,10 +19,7 @@ class PersonRecognizeProvider
required this.account,
required this.face,
List<RecognizeFaceItem>? items,
}) : items = items
?.sorted((a, b) => b.fileId.compareTo(a.fileId))
.reversed
.toList();
}) : items = items?.sorted((a, b) => b.fileId.compareTo(a.fileId));
@override
String toString() => _$toString();