Skip to content

Commit

Permalink
chore: remove filters overflow by replacing ListView with SingleChild…
Browse files Browse the repository at this point in the history
…ScrollView (#1921)
  • Loading branch information
ggurdin authored Feb 25, 2025
1 parent 7271f6d commit 81f0b29
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions lib/pages/chat_list/chat_list_body.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81f0b29

Please sign in to comment.