Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 317d426

Browse files
committed
Use absoluteFill style for BarCodeScanner component
1 parent b5b50d2 commit 317d426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component/qrcode-scanner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default class QRCodeScanner extends React.Component {
6767
scanned ? undefined : (...args) => this.handleCodeScanned(...args)
6868
}
6969
barCodeTypes={[BarCodeScanner.Constants.BarCodeType.qr]}
70-
style={styles.wrapper}
70+
style={StyleSheet.absoluteFill}
7171
/>
7272
<Corners />
7373
</View>

0 commit comments

Comments
 (0)