chore: remove filters overflow by replacing ListView with SingleChildScrollView (#1921)
This commit is contained in:
parent
7271f6da10
commit
81f0b296dc
1 changed files with 17 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue