From e2724cdc46ec700ff18c263ca88712b5b1da4cce Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 24 Jun 2021 15:56:40 +0200 Subject: [PATCH] chore: Remove dividers --- lib/pages/views/chat_list_view.dart | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/lib/pages/views/chat_list_view.dart b/lib/pages/views/chat_list_view.dart index 4da82aea..99c96768 100644 --- a/lib/pages/views/chat_list_view.dart +++ b/lib/pages/views/chat_list_view.dart @@ -195,23 +195,7 @@ class ChatListView extends StatelessWidget { ); } final totalCount = rooms.length + 1; - return ListView.separated( - separatorBuilder: (_, __) => Row( - children: [ - Spacer(), - Container( - height: 1, - width: 200, - decoration: BoxDecoration( - gradient: LinearGradient( - colors: [ - Colors.transparent, - Theme.of(context).dividerColor, - ], - )), - ), - ], - ), + return ListView.builder( itemCount: totalCount, itemBuilder: (BuildContext context, int i) { if (i == 0) {