Skip to content

Commit

Permalink
fix: top paddings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitrDomrachev committed May 8, 2024
1 parent 310a1b2 commit 46893e3
Showing 1 changed file with 2 additions and 2 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;
final topPadding = MediaQuery.of(context).viewPadding.top;
return FlutterEasyDialogs.show(
EasyDialog.positioned(
decoration: dialogDecoration,
Expand All @@ -40,7 +40,7 @@ class DefaultSnackController {
child: Padding(
padding: EdgeInsets.fromLTRB(
AppSizes.double16,
topPadding + AppSizes.double16,
topPadding + AppSizes.double8,
AppSizes.double16,
AppSizes.double16,
),
Expand Down

0 comments on commit 46893e3

Please sign in to comment.