diff --git a/lib/ui/chat/chat_home_screen.dart b/lib/ui/chat/chat_home_screen.dart index db18166..56c17d8 100644 --- a/lib/ui/chat/chat_home_screen.dart +++ b/lib/ui/chat/chat_home_screen.dart @@ -83,12 +83,11 @@ class _ChatHomeScreenState extends State { ), if (m.searchedChats != null) ListView.separated( - itemCount: m.searchedChats!.length + 20, + itemCount: m.searchedChats!.length, padding: const EdgeInsets.only(bottom: 80), shrinkWrap: true, physics: const NeverScrollableScrollPhysics(), itemBuilder: (BuildContext context, int index) { - index = 0; return SizedBox( height: 55, // todo @aamir, remove list tile, make a custom ui instead