diff --git a/lib/routes/qr_scan/widgets/qr_scan.dart b/lib/routes/qr_scan/widgets/qr_scan.dart index f3e3c1dc3..ef9eb255a 100644 --- a/lib/routes/qr_scan/widgets/qr_scan.dart +++ b/lib/routes/qr_scan/widgets/qr_scan.dart @@ -69,19 +69,26 @@ class QRScanState extends State { ], ), ), - Positioned( - right: 10, - top: 5, - child: ImagePickerButton(cameraController), - ), - Positioned( - bottom: 30.0, - right: 0, - left: 0, - child: - defaultTargetPlatform == TargetPlatform.iOS ? const QRScanCancelButton() : const SizedBox(), - ), const ScanOverlay(), + SafeArea( + child: Stack( + children: [ + Positioned( + right: 10, + top: 5, + child: ImagePickerButton(cameraController), + ), + Positioned( + bottom: 30.0, + right: 0, + left: 0, + child: defaultTargetPlatform == TargetPlatform.iOS + ? const QRScanCancelButton() + : const SizedBox(), + ), + ], + ), + ) ], ), );