fix: Let bottom space bar scroll
This commit is contained in:
parent
26751f3ab4
commit
7e2dd48796
1 changed files with 41 additions and 34 deletions
|
|
@ -29,7 +29,12 @@ class SpacesBottomBar extends StatelessWidget {
|
|||
false) ||
|
||||
(sync.rooms?.leave?.isNotEmpty ?? false)),
|
||||
builder: (context, snapshot) {
|
||||
return SalomonBottomBar(
|
||||
return Container(
|
||||
height: 56,
|
||||
alignment: Alignment.center,
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: SalomonBottomBar(
|
||||
itemPadding: const EdgeInsets.all(8),
|
||||
currentIndex: currentIndex,
|
||||
onTap: (i) => controller.setActiveSpaceId(
|
||||
|
|
@ -64,6 +69,8 @@ class SpacesBottomBar extends StatelessWidget {
|
|||
))
|
||||
.toList(),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue