[mob] Sort suggestion by creationTime to fix gallery grouping bug
This commit is contained in:
parent
9ecd406e56
commit
745daf39f7
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ class _PersonClustersState extends State<PersonReviewClusterSuggestion> {
|
|||
final double distance = currentSuggestion.distancePersonToCluster;
|
||||
final bool usingMean = currentSuggestion.usedOnlyMeanForSuggestion;
|
||||
final List<EnteFile> files = currentSuggestion.filesInCluster;
|
||||
files.sort((a, b) => b.creationTime!.compareTo(a.creationTime!));
|
||||
|
||||
_peopleChangedEvent =
|
||||
Bus.instance.on<PeopleChangedEvent>().listen((event) {
|
||||
|
|
Loading…
Add table
Reference in a new issue