Michael Markl

Do not returnImage if not specified

@@ -130,7 +130,7 @@ class MobileScannerController { @@ -130,7 +130,7 @@ class MobileScannerController {
130 arguments['formats'] = formats!.map((e) => e.index).toList(); 130 arguments['formats'] = formats!.map((e) => e.index).toList();
131 } 131 }
132 } 132 }
133 - arguments['returnImage'] = true; 133 + arguments['returnImage'] = returnImage;
134 return arguments; 134 return arguments;
135 } 135 }
136 136