mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
ADD: Camera flip image (useful for tablets)
This commit is contained in:
parent
8f13d077fb
commit
f01763c2f9
BIN
img/camera-rotate-solid@1x.png
Normal file
BIN
img/camera-rotate-solid@1x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
BIN
img/camera-rotate-solid@2x.png
Normal file
BIN
img/camera-rotate-solid@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
BIN
img/camera-rotate-solid@3x.png
Normal file
BIN
img/camera-rotate-solid@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
@ -342,7 +342,13 @@ const ScanQRCode = () => {
|
||||
<Button title={loc.send.open_settings} onPress={openPrivacyDesktopSettings} />
|
||||
</View>
|
||||
) : isFocused ? (
|
||||
<CameraScreen scanBarcode onReadCode={event => onBarCodeRead({ data: event?.nativeEvent?.codeStringValue })} showFrame={false} />
|
||||
<CameraScreen
|
||||
scanBarcode
|
||||
torchOffImage={require('../../img/flash-off.png')}
|
||||
cameraFlipImage={require('../../img/camera-rotate-solid.png')}
|
||||
onReadCode={event => onBarCodeRead({ data: event?.nativeEvent?.codeStringValue })}
|
||||
showFrame={false}
|
||||
/>
|
||||
) : null}
|
||||
<TouchableOpacity accessibilityRole="button" accessibilityLabel={loc._.close} style={styles.closeTouch} onPress={dismiss}>
|
||||
<Image style={styles.closeImage} source={require('../../img/close-white.png')} />
|
||||
|
Loading…
Reference in New Issue
Block a user