From 81f0b296dce2f03b027b395d13f5fb84581610a7 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Tue, 25 Feb 2025 16:42:53 -0500 Subject: [PATCH] chore: remove filters overflow by replacing ListView with SingleChildScrollView (#1921) --- lib/pages/chat_list/chat_list_body.dart | 27 ++++++++++++++++--------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/lib/pages/chat_list/chat_list_body.dart b/lib/pages/chat_list/chat_list_body.dart index 5fe1f9d37e..d645f73ef9 100644 --- a/lib/pages/chat_list/chat_list_body.dart +++ b/lib/pages/chat_list/chat_list_body.dart @@ -177,16 +177,23 @@ class ChatListViewBody extends StatelessWidget { if (client.rooms.length <= 7 || controller.isSearchMode) const SizedBox(height: 8), if (client.rooms.length > 7 && !controller.isSearchMode) - // Pangea# - SizedBox( - height: 64, - child: ListView( - padding: const EdgeInsets.symmetric( - horizontal: 12.0, - vertical: 16.0, - ), - shrinkWrap: true, - scrollDirection: Axis.horizontal, + // SizedBox( + // height: 64, + // child: ListView( + // padding: const EdgeInsets.symmetric( + // horizontal: 12.0, + // vertical: 16.0, + // ), + // shrinkWrap: true, + // scrollDirection: Axis.horizontal, + SingleChildScrollView( + padding: const EdgeInsets.symmetric( + horizontal: 12.0, + vertical: 16.0, + ), + scrollDirection: Axis.horizontal, + child: Row( + // Pangea# children: [ if (AppConfig.separateChatTypes) ActiveFilter.messages