From f5c5c00be602531756efe161c0aa0c7e30b5991f Mon Sep 17 00:00:00 2001 From: Mikolaj Kieres Date: Sun, 2 Jul 2023 20:24:33 +1000 Subject: [PATCH] filter bottom sheet height fix (#204) --- .../lib/pages/collections/collections_page.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/board_games_companion/lib/pages/collections/collections_page.dart b/board_games_companion/lib/pages/collections/collections_page.dart index 8965b606..1c4e484e 100644 --- a/board_games_companion/lib/pages/collections/collections_page.dart +++ b/board_games_companion/lib/pages/collections/collections_page.dart @@ -297,9 +297,8 @@ class _AppBarState extends State<_AppBar> { ), context: context, builder: (context) { - final pageHeight = MediaQuery.of(context).size.height; - return FractionallySizedBox( - heightFactor: _requiredFiltersBottomSheetHeight / pageHeight, + return SizedBox( + height: _requiredFiltersBottomSheetHeight, child: CollectionsFilterPanel(viewModel: widget.viewModel), ); },