mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
FIX: provide entropy for D20
This commit is contained in:
parent
e6b1b9c7a3
commit
e09aac4b07
@ -101,15 +101,11 @@ export const convertToBuffer = ({ entropy, bits }) => {
|
||||
|
||||
const Coin = ({ push }) => (
|
||||
<View style={styles.coinRoot}>
|
||||
<TouchableOpacity onPress={() => push(getEntropy(0, 2))}>
|
||||
<View style={styles.coinBody}>
|
||||
<Image style={styles.coinImage} source={require('../../img/coin1.png')} />
|
||||
</View>
|
||||
<TouchableOpacity onPress={() => push(getEntropy(0, 2))} style={styles.coinBody}>
|
||||
<Image style={styles.coinImage} source={require('../../img/coin1.png')} />
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity onPress={() => push(getEntropy(1, 2))}>
|
||||
<View style={styles.coinBody}>
|
||||
<Image style={styles.coinImage} source={require('../../img/coin2.png')} />
|
||||
</View>
|
||||
<TouchableOpacity onPress={() => push(getEntropy(1, 2))} style={styles.coinBody}>
|
||||
<Image style={styles.coinImage} source={require('../../img/coin2.png')} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
@ -299,10 +295,13 @@ const styles = StyleSheet.create({
|
||||
borderRadius: 5,
|
||||
borderColor: 'grey',
|
||||
margin: 10,
|
||||
padding: 10,
|
||||
},
|
||||
coinImage: {
|
||||
flex: 0.9,
|
||||
aspectRatio: 1,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
borderRadius: 75,
|
||||
},
|
||||
diceScroll: {
|
||||
backgroundColor: 'white',
|
||||
|
Loading…
Reference in New Issue
Block a user