From 5ea2c7942e8a896500c98a3912a37ff45bda9b5a Mon Sep 17 00:00:00 2001 From: ashilkn Date: Wed, 25 Jan 2023 18:12:24 +0530 Subject: [PATCH] Added top inner stroke to the bottom most widget of CreateCollectionSheet --- lib/ui/create_collection_sheet.dart | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/ui/create_collection_sheet.dart b/lib/ui/create_collection_sheet.dart index 51e627c1e..78b162653 100644 --- a/lib/ui/create_collection_sheet.dart +++ b/lib/ui/create_collection_sheet.dart @@ -194,10 +194,18 @@ class _CreateCollectionSheetState extends State { ), ), ), - const SafeArea( - child: Padding( - padding: EdgeInsets.fromLTRB(16, 16, 16, 8), - child: ButtonWidget( + SafeArea( + child: Container( + //inner stroke of 1pt + 15 pts of top padding = 16 pts + padding: const EdgeInsets.fromLTRB(16, 15, 16, 8), + decoration: BoxDecoration( + border: Border( + top: BorderSide( + color: getEnteColorScheme(context).strokeFaint, + ), + ), + ), + child: const ButtonWidget( buttonType: ButtonType.secondary, buttonAction: ButtonAction.cancel, isInAlert: true,