mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-06 11:48:24 +00:00
Fix QR code error message
This commit is contained in:
@@ -102,7 +102,7 @@ android {
|
||||
applicationId "com.minibits_wallet"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 24
|
||||
versionCode 25
|
||||
versionName "0.1.5"
|
||||
ndk {
|
||||
abiFilters 'arm64-v8a', 'x86_64', 'x86', 'armeabi-v7a'
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "minibits_wallet",
|
||||
"version": "0.1.4-beta.12",
|
||||
"version": "0.1.5-beta.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android:clean": "cd android && ./gradlew clean",
|
||||
|
||||
@@ -1026,22 +1026,25 @@ const SendAsQRCodeBlock = observer(function (props: {
|
||||
return (
|
||||
<View style={[$bottomModal, {marginHorizontal: spacing.small}]}>
|
||||
<Text text={'Scan to receive'} />
|
||||
<View style={$qrCodeContainer}>
|
||||
|
||||
{qrError ? (
|
||||
<ListItem
|
||||
text='Could not show QR code'
|
||||
text='Could not display QR code.'
|
||||
subText={qrError.message || ''}
|
||||
leftIcon='faTriangleExclamation'
|
||||
style={{alignSelf: 'stretch'}}
|
||||
leftIconColor={colors.palette.angry500}
|
||||
/>
|
||||
) : (
|
||||
<QRCode
|
||||
size={spacing.screenWidth - spacing.large * 2} value={props.encodedTokenToSend}
|
||||
onError={(error: any) => handleQrError(error)}
|
||||
/>
|
||||
<View style={$qrCodeContainer}>
|
||||
<QRCode
|
||||
size={spacing.screenWidth - spacing.large * 2} value={props.encodedTokenToSend}
|
||||
onError={(error: any) => handleQrError(error)}
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
|
||||
</View>
|
||||
|
||||
<View style={$buttonContainer}>
|
||||
<Button
|
||||
text="Share"
|
||||
|
||||
Reference in New Issue
Block a user