Limit number of entries shown in search landing page

This commit is contained in:
Ming Ming 2022-08-29 00:10:49 +08:00
parent 51e3431cdc
commit cb285722b1

View file

@ -256,6 +256,7 @@ class _SearchLandingState extends State<SearchLanding> {
return countCompare;
}
})
.take(10)
.map((e) => _LandingPersonItem(
account: widget.account,
name: e.name,
@ -276,6 +277,7 @@ class _SearchLandingState extends State<SearchLanding> {
return compare;
}
})
.take(10)
.map((e) => _LandingLocationItem(
account: widget.account,
name: e.place,