fixed qr scanner size on smaller phones
This commit is contained in:
parent
80d50cd82b
commit
f2d6b6079e
@ -69,7 +69,7 @@ class _CodeScannerScreenState extends State<CodeScannerScreen> {
|
|||||||
Widget _buildQrView(BuildContext context) {
|
Widget _buildQrView(BuildContext context) {
|
||||||
var scanArea = (MediaQuery.of(context).size.width < 400 ||
|
var scanArea = (MediaQuery.of(context).size.width < 400 ||
|
||||||
MediaQuery.of(context).size.height < 400)
|
MediaQuery.of(context).size.height < 400)
|
||||||
? 150.0
|
? 250.0
|
||||||
: 280.0;
|
: 280.0;
|
||||||
|
|
||||||
return QRView(
|
return QRView(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user