Browse Source

bigger fontSize on mnemonic export screen

snyk-fix-84644e4a03e171e392ba652f3dc364b5
ncoelho 5 years ago
committed by Overtorment
parent
commit
b4f5157f07
  1. 7
      screen/wallets/export.js
  2. 2
      screen/wallets/transactions.js

7
screen/wallets/export.js

@ -68,14 +68,13 @@ export default class WalletExport extends Component {
} }
return ( return (
<SafeBlueArea style={{ flex: 1, paddingTop: 20 }}> <SafeBlueArea style={{ flex: 1 }}>
<ScrollView <ScrollView
centerContent
contentContainerStyle={{ alignItems: 'center', justifyContent: 'center', flexGrow: 1 }} contentContainerStyle={{ alignItems: 'center', justifyContent: 'center', flexGrow: 1 }}
onLayout={this.onLayout} onLayout={this.onLayout}
> >
<View> <View>
<BlueText>{this.state.wallet.typeReadable}</BlueText> <BlueText style={{ fontSize: 17, fontWeight: "700", color: "#0c2550" }}>{this.state.wallet.typeReadable}</BlueText>
</View> </View>
{(() => { {(() => {
@ -103,7 +102,7 @@ export default class WalletExport extends Component {
{this.state.wallet.type === LightningCustodianWallet.type ? ( {this.state.wallet.type === LightningCustodianWallet.type ? (
<BlueCopyTextToClipboard text={this.state.wallet.getSecret()} /> <BlueCopyTextToClipboard text={this.state.wallet.getSecret()} />
) : ( ) : (
<BlueText style={{ alignItems: 'center', paddingHorizontal: 8 }}>{this.state.wallet.getSecret()}</BlueText> <BlueText style={{ alignItems: 'center', paddingHorizontal: 16, fontSize: 16, color: "#0C2550", lineHeight: 24 }}>{this.state.wallet.getSecret()}</BlueText>
)} )}
</ScrollView> </ScrollView>
</SafeBlueArea> </SafeBlueArea>

2
screen/wallets/transactions.js

@ -228,7 +228,7 @@ export default class WalletTransactions extends Component {
style={{ style={{
flex: 1, flex: 1,
marginLeft: 16, marginLeft: 16,
marginTop: 24, marginTop: 8,
marginBottom: 8, marginBottom: 8,
fontWeight: 'bold', fontWeight: 'bold',
fontSize: 24, fontSize: 24,

Loading…
Cancel
Save