mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
ADD: Success screen animation
Adds a custom success animation to onchain transactions
This commit is contained in:
parent
a274b13cd9
commit
398e22907b
1
img/bluenice.json
Normal file
1
img/bluenice.json
Normal file
File diff suppressed because one or more lines are too long
@ -1,4 +1,5 @@
|
||||
import React, { Component } from 'react';
|
||||
import LottieView from 'lottie-react-native';
|
||||
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
|
||||
import { View, StyleSheet } from 'react-native';
|
||||
import { Text, Icon } from 'react-native-elements';
|
||||
@ -44,12 +45,12 @@ const styles = StyleSheet.create({
|
||||
alignSelf: 'center',
|
||||
},
|
||||
ready: {
|
||||
backgroundColor: '#ccddf9',
|
||||
width: 120,
|
||||
height: 120,
|
||||
borderRadius: 60,
|
||||
alignSelf: 'center',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
marginTop: 43,
|
||||
marginBottom: 53,
|
||||
},
|
||||
@ -98,7 +99,7 @@ export default class Success extends Component {
|
||||
)}
|
||||
</BlueCard>
|
||||
<View style={styles.ready}>
|
||||
<Icon name="check" size={50} type="font-awesome" color="#0f5cc0" />
|
||||
<LottieView style={{ width: 400, height: 400 }} source={require('../../img/bluenice.json')} autoPlay loop={false} />
|
||||
</View>
|
||||
<BlueCard>
|
||||
<BlueButton
|
||||
|
Loading…
Reference in New Issue
Block a user