π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Fix safearea issues
ashilknecbd2b4480dd
diff --git a/mobile/lib/ui/components/action_sheet_widget.dart b/mobile/lib/ui/components/action_sheet_widget.dartindex aa4662792b..4e23e91b4f 100644--- a/mobile/lib/ui/components/action_sheet_widget.dart+++ b/mobile/lib/ui/components/action_sheet_widget.dart@@ -73,46 +73,48 @@ class ActionSheetWidget extends StatelessWidget {title == null && bodyWidget == null && body == null;final extraWidth = MediaQuery.of(context).size.width - restrictedMaxWidth;final double? horizontalPadding = extraWidth > 0 ? extraWidth / 2 : null;- return Padding(- padding: EdgeInsets.fromLTRB(- horizontalPadding ?? 12,- 12,- horizontalPadding ?? 12,- 32,- ),- child: Container(- decoration: BoxDecoration(boxShadow: shadowMenuLight),- child: ClipRRect(- borderRadius: const BorderRadius.all(Radius.circular(8)),- child: Container(- color: backgroundElevated2Dark,- child: Padding(- padding: EdgeInsets.fromLTRB(- 24,- 24,- 24,- isTitleAndBodyNull ? 24 : 28,- ),- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- isTitleAndBodyNull- ? const SizedBox.shrink()- : Padding(- padding: const EdgeInsets.only(bottom: 36),- child: ContentContainerWidget(- title: title,- bodyWidget: bodyWidget,- body: body,- bodyHighlight: bodyHighlight,- actionSheetType: actionSheetType,- isCheckIconGreen: isCheckIconGreen,+ return SafeArea(+ child: Padding(+ padding: EdgeInsets.fromLTRB(+ horizontalPadding ?? 12,+ 12,+ horizontalPadding ?? 12,+ 32,+ ),+ child: Container(+ decoration: BoxDecoration(boxShadow: shadowMenuLight),+ child: ClipRRect(+ borderRadius: const BorderRadius.all(Radius.circular(8)),+ child: Container(+ color: backgroundElevated2Dark,+ child: Padding(+ padding: EdgeInsets.fromLTRB(+ 24,+ 24,+ 24,+ isTitleAndBodyNull ? 24 : 28,+ ),+ child: Column(+ mainAxisSize: MainAxisSize.min,+ children: [+ isTitleAndBodyNull+ ? const SizedBox.shrink()+ : Padding(+ padding: const EdgeInsets.only(bottom: 36),+ child: ContentContainerWidget(+ title: title,+ bodyWidget: bodyWidget,+ body: body,+ bodyHighlight: bodyHighlight,+ actionSheetType: actionSheetType,+ isCheckIconGreen: isCheckIconGreen,+ ),),- ),- ActionButtons(- actionButtons,- ),- ],+ ActionButtons(+ actionButtons,+ ),+ ],+ ),),),),diff --git a/mobile/lib/ui/payment/subscription_common_widgets.dart b/mobile/lib/ui/payment/subscription_common_widgets.dartindex 5a1c95c563..cc75495011 100644--- a/mobile/lib/ui/payment/subscription_common_widgets.dart+++ b/mobile/lib/ui/payment/subscription_common_widgets.dart@@ -175,7 +175,9 @@ class SubFaqWidget extends StatelessWidget {barrierColor: Colors.black87,context: context,builder: (context) {- return const BillingQuestionsWidget();+ return const SafeArea(+ child: BillingQuestionsWidget(),+ );},);},