mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
fix: Let bottom space bar scroll
This commit is contained in:
parent
a5f1925f03
commit
ecd93b0a37
@ -29,7 +29,12 @@ class SpacesBottomBar extends StatelessWidget {
|
|||||||
false) ||
|
false) ||
|
||||||
(sync.rooms?.leave?.isNotEmpty ?? false)),
|
(sync.rooms?.leave?.isNotEmpty ?? false)),
|
||||||
builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
return SalomonBottomBar(
|
return Container(
|
||||||
|
height: 56,
|
||||||
|
alignment: Alignment.center,
|
||||||
|
child: SingleChildScrollView(
|
||||||
|
scrollDirection: Axis.horizontal,
|
||||||
|
child: SalomonBottomBar(
|
||||||
itemPadding: const EdgeInsets.all(8),
|
itemPadding: const EdgeInsets.all(8),
|
||||||
currentIndex: currentIndex,
|
currentIndex: currentIndex,
|
||||||
onTap: (i) => controller.setActiveSpaceId(
|
onTap: (i) => controller.setActiveSpaceId(
|
||||||
@ -64,6 +69,8 @@ class SpacesBottomBar extends StatelessWidget {
|
|||||||
))
|
))
|
||||||
.toList(),
|
.toList(),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user