Merge branch 'braid/spaces-fix' into 'main'

fix: spces bottom sheet not scrollable

See merge request famedly/fluffychat!850
This commit is contained in:
Krille Fear 2022-05-01 10:35:18 +00:00
commit f492a7a4a2

View File

@ -29,10 +29,10 @@ class SpacesDrawer extends StatelessWidget {
controller.snapBackSpacesSheet(); controller.snapBackSpacesSheet();
return false; return false;
}, },
child: ListView.builder( child: Column(
shrinkWrap: true, children: List.generate(
itemCount: spaceHierarchy.length, spaceHierarchy.length,
itemBuilder: (BuildContext context, int index) { (index) {
if (index == 0) { if (index == 0) {
return ListTile( return ListTile(
selected: currentIndex == index, selected: currentIndex == index,
@ -78,6 +78,7 @@ class SpacesDrawer extends StatelessWidget {
} }
}, },
), ),
),
); );
} }
} }