mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
FIX: Spacing issues on About and Receive
This commit is contained in:
parent
94e2d55bef
commit
ec82404510
3 changed files with 21 additions and 20 deletions
|
@ -125,7 +125,7 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
receive: {
|
||||
header: 'receive',
|
||||
header: 'Receive',
|
||||
details: {
|
||||
title: 'Share this address with payer',
|
||||
share: 'share',
|
||||
|
|
|
@ -11,7 +11,7 @@ let loc = require('../../loc');
|
|||
export default class ReceiveDetails extends Component {
|
||||
static navigationOptions = {
|
||||
header: ({ navigation }) => {
|
||||
return <BlueHeaderDefaultSub leftText={loc.receive.header} onClose={() => navigation.goBack(null)} />;
|
||||
return <BlueHeaderDefaultSub leftText={loc.receive.header.toLowerCase()} onClose={() => navigation.goBack(null)} />;
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -98,19 +98,21 @@ export default class ReceiveDetails extends Component {
|
|||
</Animated.Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
<BlueButton
|
||||
icon={{
|
||||
name: 'share-alternative',
|
||||
type: 'entypo',
|
||||
color: BlueApp.settings.buttonTextColor,
|
||||
}}
|
||||
onPress={async () => {
|
||||
Share.share({
|
||||
message: this.state.address,
|
||||
});
|
||||
}}
|
||||
title={loc.receive.details.share}
|
||||
/>
|
||||
<View style={{ marginBottom: 24 }}>
|
||||
<BlueButton
|
||||
icon={{
|
||||
name: 'share-alternative',
|
||||
type: 'entypo',
|
||||
color: BlueApp.settings.buttonTextColor,
|
||||
}}
|
||||
onPress={async () => {
|
||||
Share.share({
|
||||
message: this.state.address,
|
||||
});
|
||||
}}
|
||||
title={loc.receive.details.share}
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
</SafeBlueArea>
|
||||
);
|
||||
|
|
|
@ -46,9 +46,8 @@ export default class About extends Component {
|
|||
return (
|
||||
<SafeBlueArea forceInset={{ horizontal: 'always' }} style={{ flex: 1 }}>
|
||||
<BlueHeaderDefaultSub leftText={'about'} rightComponent={null} />
|
||||
|
||||
<BlueCard>
|
||||
<ScrollView maxHeight={height - 100}>
|
||||
<ScrollView>
|
||||
<BlueCard>
|
||||
<BlueText h4>BlueWallet is free and opensource Bitcoin wallet. Licensed MIT.</BlueText>
|
||||
|
||||
<BlueButton
|
||||
|
@ -114,8 +113,8 @@ export default class About extends Component {
|
|||
<BlueTextCentered>
|
||||
{Constants.platform.ios.model} ({Constants.platform.ios.platform})
|
||||
</BlueTextCentered>
|
||||
</ScrollView>
|
||||
</BlueCard>
|
||||
</BlueCard>
|
||||
</ScrollView>
|
||||
</SafeBlueArea>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue