mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
feat: reduce unnecessary space from success view
This commit is contained in:
parent
619392d8ab
commit
f3420b35d1
@ -79,6 +79,7 @@ export const SuccessView = ({ amount, amountUnit, fee, invoiceDescription, shoul
|
||||
|
||||
return (
|
||||
<View style={styles.root}>
|
||||
{amount || fee > 0 ? (
|
||||
<BlueCard style={styles.amount}>
|
||||
<View style={styles.view}>
|
||||
{amount ? (
|
||||
@ -97,6 +98,8 @@ export const SuccessView = ({ amount, amountUnit, fee, invoiceDescription, shoul
|
||||
{invoiceDescription}
|
||||
</Text>
|
||||
</BlueCard>
|
||||
) : null}
|
||||
|
||||
<View style={styles.ready}>
|
||||
<LottieView
|
||||
style={styles.lottie}
|
||||
@ -119,6 +122,7 @@ export const SuccessView = ({ amount, amountUnit, fee, invoiceDescription, shoul
|
||||
color: colors.successCheck,
|
||||
},
|
||||
]}
|
||||
resizeMode="center"
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
@ -177,7 +181,7 @@ const styles = StyleSheet.create({
|
||||
marginBottom: 53,
|
||||
},
|
||||
lottie: {
|
||||
width: 400,
|
||||
height: 400,
|
||||
width: 200,
|
||||
height: 200,
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user