From 1073631aba49dfc4e06f2e896cfa98f9447dbf9d Mon Sep 17 00:00:00 2001 From: LiquidatorCoder Date: Thu, 25 Nov 2021 07:41:57 -0500 Subject: [PATCH] fix toast on mobile devices --- lib/services/toast_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/toast_service.dart b/lib/services/toast_service.dart index a644f44..d9a8ca2 100644 --- a/lib/services/toast_service.dart +++ b/lib/services/toast_service.dart @@ -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, ); },