From 2c8259b849fbdf5bb8612654654e5a59498ae5f5 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 20 Feb 2021 07:32:06 +0100 Subject: [PATCH] fix: empty horizontal stories list --- lib/components/horizontal_stories_list.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/horizontal_stories_list.dart b/lib/components/horizontal_stories_list.dart index ac150031a..5436573f9 100644 --- a/lib/components/horizontal_stories_list.dart +++ b/lib/components/horizontal_stories_list.dart @@ -57,7 +57,7 @@ class _HorizontalStoriesListState extends State { 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