From 48a5bfae23bd0f4e4c17668d05661437a74af781 Mon Sep 17 00:00:00 2001 From: ashilkn Date: Mon, 5 Dec 2022 20:49:18 +0530 Subject: [PATCH] change bottom padding of BottomActionWidget with context --- .../bottom_action_bar/bottom_action_bar_widget.dart | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dart b/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dart index dbf65c4ac..b0730640c 100644 --- a/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dart +++ b/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dart @@ -38,13 +38,9 @@ class BottomActionBarWidget extends StatelessWidget { filter: ImageFilter.blur(sigmaX: blurBase, sigmaY: blurBase), child: Container( color: colorScheme.backdropBase, - padding: const EdgeInsets.only( + padding: EdgeInsets.only( top: 4, - // bottom: !_expandableController.expanded && - // ((widget.selectedFiles?.files.isNotEmpty) ?? false) - // ? 24 - // : 36, - bottom: 24, + bottom: (selectedFiles?.files.isNotEmpty) ?? false ? 24 : 36, ), child: Column( mainAxisSize: MainAxisSize.min,