Skip to content

Commit

Permalink
fix toast on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidatorCoder committed Nov 25, 2021
1 parent 0ab80cf commit 1073631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/toast_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ToastService {
positionedToastBuilder: (context, child) {
return Positioned(
child: child,
top: 32.0,
top: 32.0 + MediaQuery.of(context).padding.top,
left: MediaQuery.of(context).size.width / 2 - 125,
);
},
Expand Down

0 comments on commit 1073631

Please sign in to comment.