mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
numbers
This commit is contained in:
parent
88a1ec4260
commit
2b393ba997
2 changed files with 40 additions and 3 deletions
|
@ -86,7 +86,7 @@ const PsbtMultisig = () => {
|
|||
|
||||
const targets = filteredData.targets;
|
||||
|
||||
// Compute totals for display from unfiltered data.
|
||||
// totals for display from unfiltered data.
|
||||
const displayTotalBtc = new BigNumber(unfilteredData.totalSat).dividedBy(100000000).toNumber();
|
||||
const displayTotalFiat = satoshiToLocalCurrency(unfilteredData.totalSat);
|
||||
|
||||
|
|
|
@ -33,6 +33,18 @@ const PsbtMultisigQRCode = () => {
|
|||
},
|
||||
tipBox: {
|
||||
backgroundColor: colors.ballOutgoingExpired,
|
||||
borderRadius: 12,
|
||||
padding: 16,
|
||||
marginBottom: 24,
|
||||
},
|
||||
tipHeader: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
marginBottom: 10,
|
||||
},
|
||||
tipHeaderText: {
|
||||
marginLeft: 10,
|
||||
flex: 1,
|
||||
},
|
||||
});
|
||||
const fileName = `${Date.now()}.psbt`;
|
||||
|
@ -96,7 +108,14 @@ const PsbtMultisigQRCode = () => {
|
|||
>
|
||||
<View style={[styles.modalContentShort, stylesHook.modalContentShort]}>
|
||||
<View style={[styles.tipBox, stylesHook.tipBox]}>
|
||||
<BlueText bold>{loc.multisig.provide_signature}</BlueText>
|
||||
<View style={stylesHook.tipHeader}>
|
||||
<View style={styles.vaultKeyCircle}>
|
||||
<BlueText style={styles.vaultKeyText}>1</BlueText>
|
||||
</View>
|
||||
<BlueText bold style={stylesHook.tipHeaderText}>
|
||||
{loc.multisig.provide_signature}
|
||||
</BlueText>
|
||||
</View>
|
||||
<BlueSpacing20 />
|
||||
<BlueText>{loc.multisig.provide_signature_details}</BlueText>
|
||||
<BlueSpacing20 />
|
||||
|
@ -110,7 +129,14 @@ const PsbtMultisigQRCode = () => {
|
|||
<BlueSpacing20 />
|
||||
<View style={styles.divider} />
|
||||
<View style={[styles.tipBox, stylesHook.tipBox]}>
|
||||
<BlueText bold>{loc.multisig.provide_signature_next_steps}</BlueText>
|
||||
<View style={stylesHook.tipHeader}>
|
||||
<View style={styles.vaultKeyCircle}>
|
||||
<BlueText style={styles.vaultKeyText}>2</BlueText>
|
||||
</View>
|
||||
<BlueText bold style={stylesHook.tipHeaderText}>
|
||||
{loc.multisig.provide_signature_next_steps}
|
||||
</BlueText>
|
||||
</View>
|
||||
<BlueSpacing20 />
|
||||
<BlueText>{loc.multisig.provide_signature_next_steps_details}</BlueText>
|
||||
</View>
|
||||
|
@ -172,6 +198,17 @@ const styles = StyleSheet.create({
|
|||
padding: 16,
|
||||
marginBottom: 24,
|
||||
},
|
||||
vaultKeyCircle: {
|
||||
width: 42,
|
||||
height: 42,
|
||||
borderRadius: 25,
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
},
|
||||
vaultKeyText: {
|
||||
fontSize: 18,
|
||||
fontWeight: 'bold',
|
||||
},
|
||||
});
|
||||
|
||||
export default PsbtMultisigQRCode;
|
||||
|
|
Loading…
Add table
Reference in a new issue