mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
Merge pull request #6958 from BlueWallet/cameraflip
ADD: Camera flip image (useful for tablets)
This commit is contained in:
commit
b73cfe8e5d
4 changed files with 6 additions and 1 deletions
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 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,12 @@ 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
|
||||
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…
Add table
Reference in a new issue