chore: remove filters overflow by replacing ListView with SingleChildScrollView (#1921)

This commit is contained in:
ggurdin 2025-02-25 16:42:53 -05:00 committed by GitHub
parent 7271f6da10
commit 81f0b296dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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