fix: empty horizontal stories list

This commit is contained in:
Christian Pauly 2021-02-20 07:32:06 +01:00
parent 3d59d9a415
commit b1f6209c3c

View File

@ -57,7 +57,7 @@ class _HorizontalStoriesListState extends State<HorizontalStoriesList> {
p.senderId.toLowerCase().contains(widget.searchQuery.toLowerCase()))
.toList();
return AnimatedContainer(
height: height,
height: contactList.isEmpty ? 0 : height,
duration: Duration(milliseconds: 300),
child: contactList.isEmpty
? null