mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
fix: empty horizontal stories list
This commit is contained in:
parent
3d59d9a415
commit
b1f6209c3c
@ -57,7 +57,7 @@ class _HorizontalStoriesListState extends State<HorizontalStoriesList> {
|
|||||||
p.senderId.toLowerCase().contains(widget.searchQuery.toLowerCase()))
|
p.senderId.toLowerCase().contains(widget.searchQuery.toLowerCase()))
|
||||||
.toList();
|
.toList();
|
||||||
return AnimatedContainer(
|
return AnimatedContainer(
|
||||||
height: height,
|
height: contactList.isEmpty ? 0 : height,
|
||||||
duration: Duration(milliseconds: 300),
|
duration: Duration(milliseconds: 300),
|
||||||
child: contactList.isEmpty
|
child: contactList.isEmpty
|
||||||
? null
|
? null
|
||||||
|
Loading…
Reference in New Issue
Block a user