fixed qr scanner size on smaller phones

This commit is contained in:
Kima 2024-11-14 21:13:06 +01:00
parent 80d50cd82b
commit f2d6b6079e

View File

@ -69,7 +69,7 @@ class _CodeScannerScreenState extends State<CodeScannerScreen> {
Widget _buildQrView(BuildContext context) {
var scanArea = (MediaQuery.of(context).size.width < 400 ||
MediaQuery.of(context).size.height < 400)
? 150.0
? 250.0
: 280.0;
return QRView(