fix: don't select first two people by default

This commit is contained in:
Prateek Sunal
2025-07-01 18:27:01 +05:30
parent 09466f05c6
commit 68efbc2bed

View File

@@ -399,14 +399,6 @@ class _PeopleSectionAllWidgetState extends State<PeopleSectionAllWidget> {
results.removeWhere(
(element) => element.params[kPersonParamID] == null,
);
if (widget.selectedPeople?.personIds.isEmpty ?? false) {
widget.selectedPeople!.select(
results
.take(2)
.map((e) => e.params[kPersonParamID] as String)
.toSet(),
);
}
}
_isLoaded = true;
return results;