Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): Set dynamic height of actions row in BottomSheet (#23755)

Viktor Mykhailivb2cbefe41e30
diff --git a/mobile/lib/presentation/widgets/bottom_sheet/base_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/base_bottom_sheet.widget.dart
index 7205dad941..2f2847543f 100644
--- a/mobile/lib/presentation/widgets/bottom_sheet/base_bottom_sheet.widget.dart
+++ b/mobile/lib/presentation/widgets/bottom_sheet/base_bottom_sheet.widget.dart
@@ -86,13 +86,9 @@ class _BaseDraggableScrollableSheetState extends ConsumerState<BaseBottomSheet>
SliverToBoxAdapter(
child: Column(
children: [
- SizedBox(
- height: 115,
- child: ListView(
- shrinkWrap: true,
- scrollDirection: Axis.horizontal,
- children: widget.actions,
- ),
+ SingleChildScrollView(
+ scrollDirection: Axis.horizontal,
+ child: Row(crossAxisAlignment: CrossAxisAlignment.start, children: widget.actions),
),
const Divider(indent: 16, endIndent: 16),
const SizedBox(height: 16),