feat: reduce unnecessary space from success view

This commit is contained in:
jorgemasta 2023-02-24 12:24:28 +00:00 committed by Overtorment
parent 619392d8ab
commit f3420b35d1

View File

@ -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,
},
});