mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 06:52:41 +01:00
REF: Remove share button from inside QR
This commit is contained in:
parent
077f8d6717
commit
420a2aa1e3
1 changed files with 18 additions and 2 deletions
|
@ -32,6 +32,9 @@ const ExportMultisigCoordinationSetup = () => {
|
|||
},
|
||||
type: { ...styles.type, color: colors.foregroundColor },
|
||||
secret: { ...styles.secret, color: colors.foregroundColor },
|
||||
exportButton: {
|
||||
backgroundColor: colors.buttonDisabledBackgroundColor,
|
||||
},
|
||||
};
|
||||
|
||||
const exportTxtFile = async () => {
|
||||
|
@ -83,9 +86,13 @@ const ExportMultisigCoordinationSetup = () => {
|
|||
backgroundColor="#FFFFFF"
|
||||
ecl="H"
|
||||
/>
|
||||
<BlueSpacing20 />
|
||||
<SquareButton backgroundColor="#EEF0F4" onPress={exportTxtFile} title={loc.multisig.share} />
|
||||
</View>
|
||||
<BlueSpacing20 />
|
||||
<SquareButton
|
||||
style={[styles.exportButton, stylesHook.exportButton]}
|
||||
onPress={exportTxtFile}
|
||||
title={loc.multisig.share}
|
||||
/>
|
||||
<BlueSpacing20 />
|
||||
<BlueText style={stylesHook.secret}>{wallet.getXpub()}</BlueText>
|
||||
</ScrollView>
|
||||
|
@ -117,6 +124,15 @@ const styles = StyleSheet.create({
|
|||
fontSize: 16,
|
||||
lineHeight: 24,
|
||||
},
|
||||
exportButton: {
|
||||
height: 48,
|
||||
borderRadius: 8,
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
paddingHorizontal: 16,
|
||||
width: '80%',
|
||||
maxWidth: 300,
|
||||
},
|
||||
});
|
||||
|
||||
ExportMultisigCoordinationSetup.navigationOptions = ({ navigation }) => ({
|
||||
|
|
Loading…
Add table
Reference in a new issue