Skip to content

Commit

Permalink
Merge branch 'card-pin-number' of github.com:onesandzeros-nz/BoltCard…
Browse files Browse the repository at this point in the history
…Wallet into card-pin-number
  • Loading branch information
chloehjung15 committed Aug 6, 2023
2 parents 90006f1 + 46e5a48 commit 5b3b134
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion screen/boltcard/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const BoltCardCreate = ({navigation}) => {
}, [cardDetails]);

useEffect(() => {
if(keys && lnurlw_base) {
if(keys && lnurlw_base && Platform.OS == 'android') {
writeAgain();
}
}, [keys, lnurlw_base]);
Expand Down
2 changes: 1 addition & 1 deletion screen/boltcard/details.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const BoltCardDetails = () => {
color: colors.feeText,
},
manageFundsButton: {
backgroundColor: colors.redText
backgroundColor: 'tomato'
}
});

Expand Down
6 changes: 3 additions & 3 deletions screen/boltcard/disconnect.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
Text,
TextInput,
View,
PlatformColor
Image
} from 'react-native';
import Dialog from 'react-native-dialog';
import NfcManager, { NfcTech, Ndef} from 'react-native-nfc-manager';
Expand Down Expand Up @@ -147,7 +147,7 @@ const BoltCardDisconnect = ({navigation}) => {
}, [walletID]);

useEffect(() => {
if(key0 && key1 && key2 && key3 && key4) {
if(key0 && key1 && key2 && key3 && key4 && Platform.OS == 'android') {
enableResetMode()
}
}, [key0, key1, key2, key3, key4]);
Expand Down Expand Up @@ -358,7 +358,7 @@ const BoltCardDisconnect = ({navigation}) => {
<Text style={{fontSize: 25, fontWeight: 600, textAlign: 'center'}}>Reset your Boltcard</Text>
<View style={{alignItems: 'center'}}>
<Image
source={require('../../img/bolt-card-link_black.png')}
source={require('../../img/bolt-card-unlink_black.png')}
style={{width: 130, height: 100, marginVertical:20}}
resizeMode={'cover'}
/>
Expand Down

0 comments on commit 5b3b134

Please sign in to comment.