File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -202,8 +202,6 @@ export class App extends React.Component {
202202 // Consider switching logging OFF in production builds for security and performance reasons!
203203 loggingEnabled : true ,
204204 licenseKey : LICENSE_KEY ,
205- storageImageFormat : 'JPG' ,
206- storageImageQuality : 80 ,
207205 // Optional storage path. See the method description!
208206 storageBaseDirectory : Utils . getCustomStoragePath ( )
209207 } ) . then ( ( ) => {
Original file line number Diff line number Diff line change @@ -57,8 +57,7 @@ const styles = StyleSheet.create({
5757 listItemContainer : {
5858 flex : 1 ,
5959 flexDirection : 'row' ,
60- justifyContent : 'space-between' ,
61- height : 60
60+ justifyContent : 'space-between'
6261 } ,
6362 listItemTextContainer : {
6463 flex : 1 ,
@@ -68,13 +67,11 @@ const styles = StyleSheet.create({
6867 paddingLeft : 5 ,
6968 paddingBottom : 5 ,
7069 fontSize : 14 ,
71- height : 25 ,
7270 fontWeight : "600"
7371 } ,
7472 smallText : {
7573 paddingLeft : 5 ,
7674 fontSize : 14 ,
77- height : 25 ,
7875 fontWeight : "400"
7976 } ,
8077 image : {
Original file line number Diff line number Diff line change @@ -12,7 +12,12 @@ class BarcodeResult {
1212 static update ( barcodeResult ) {
1313
1414 BarcodeResult . imageUri = null ;
15- BarcodeResult . imageUri = 'file://' + barcodeResult . imageUri ;
15+ if ( barcodeResult . imageUri == undefined ) {
16+ BarcodeResult . imageUri = undefined ;
17+ } else {
18+ BarcodeResult . imageUri = 'file://' + barcodeResult . imageUri ;
19+ }
20+
1621 BarcodeResult . clear ( ) ;
1722
1823 for ( let i = 0 ; i < barcodeResult . barcodes . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments