mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
fix: add horizontal padding to pay success screen
This commit is contained in:
parent
f3420b35d1
commit
51a0b49d1e
1 changed files with 9 additions and 5 deletions
|
@ -82,14 +82,12 @@ export default class LnurlPaySuccess extends Component {
|
|||
|
||||
return (
|
||||
<SafeBlueArea style={styles.root}>
|
||||
<ScrollView>
|
||||
<ScrollView style={styles.container}>
|
||||
{justPaid && <SuccessView />}
|
||||
|
||||
<BlueSpacing40 />
|
||||
|
||||
<BlueSpacing40 />
|
||||
<BlueText style={styles.alignSelfCenter}>{domain}</BlueText>
|
||||
<BlueText style={styles.alignSelfCenter}>{description}</BlueText>
|
||||
<BlueText style={[styles.alignSelfCenter, styles.description]}>{description}</BlueText>
|
||||
{image && <Image style={styles.img} source={{ uri: image }} />}
|
||||
<BlueSpacing20 />
|
||||
|
||||
|
@ -125,7 +123,7 @@ export default class LnurlPaySuccess extends Component {
|
|||
},
|
||||
});
|
||||
}}
|
||||
title="repeat"
|
||||
title="repeat" // TODO: translate this
|
||||
icon={{ name: 'refresh', type: 'font-awesome', color: '#9aa0aa' }}
|
||||
/>
|
||||
) : (
|
||||
|
@ -167,6 +165,9 @@ const styles = StyleSheet.create({
|
|||
root: {
|
||||
padding: 0,
|
||||
},
|
||||
container: {
|
||||
paddingHorizontal: 16,
|
||||
},
|
||||
successContainer: {
|
||||
marginTop: 10,
|
||||
},
|
||||
|
@ -177,6 +178,9 @@ const styles = StyleSheet.create({
|
|||
successValue: {
|
||||
fontWeight: 'bold',
|
||||
},
|
||||
description: {
|
||||
marginTop: 20,
|
||||
},
|
||||
});
|
||||
|
||||
LnurlPaySuccess.navigationOptions = navigationStyle({
|
||||
|
|
Loading…
Add table
Reference in a new issue