Skip to content

Commit

Permalink
fix: top paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitrDomrachev committed May 7, 2024
1 parent 0091451 commit 310a1b2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class DefaultSnackController {
}) {
final colorScheme = AppColorScheme.of(context);
final textScheme = AppTextScheme.of(context);

final topPadding = MediaQuery.of(context).padding.top;
return FlutterEasyDialogs.show(
EasyDialog.positioned(
decoration: dialogDecoration,
Expand All @@ -38,9 +38,9 @@ class DefaultSnackController {
},
),
child: Padding(
padding: const EdgeInsets.fromLTRB(
padding: EdgeInsets.fromLTRB(
AppSizes.double16,
AppSizes.double50,
topPadding + AppSizes.double16,
AppSizes.double16,
AppSizes.double16,
),
Expand Down

0 comments on commit 310a1b2

Please sign in to comment.