mirror of
https://github.com/ente-io/ente.git
synced 2025-08-14 02:07:33 +00:00
[mob][photos] Fix safearea issues
This commit is contained in:
@@ -73,7 +73,8 @@ 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(
|
||||
return SafeArea(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.fromLTRB(
|
||||
horizontalPadding ?? 12,
|
||||
12,
|
||||
@@ -118,6 +119,7 @@ class ActionSheetWidget extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@@ -175,7 +175,9 @@ class SubFaqWidget extends StatelessWidget {
|
||||
barrierColor: Colors.black87,
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return const BillingQuestionsWidget();
|
||||
return const SafeArea(
|
||||
child: BillingQuestionsWidget(),
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
|
Reference in New Issue
Block a user