Skip to content

Commit ef4eff6

Browse files
CopilotCarGuo
andcommitted
Fix Lottie animations by using correct 'progress' prop instead of 'animatedProgress'
Co-authored-by: CarGuo <[email protected]>
1 parent e46817a commit ef4eff6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/LoginPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default class LoginPage extends Component {
218218
ref={this.lottieViewRef}
219219
style={{width: screenWidth, height: screenHeight / 2}}
220220
source={require('../style/lottie/animation-login.json')}
221-
animatedProgress={this.state.progress}
221+
progress={this.state.progress}
222222
/>
223223
</View>
224224
</View>

app/components/WelcomePage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default class WelcomePage extends Component {
8484
height: 150,
8585
}}
8686
source={require('../style/lottie/animation-w800-h800.json')}
87-
animatedProgress={this.state.progress}
87+
progress={this.state.progress}
8888
/>
8989
</View>
9090
</View>

0 commit comments

Comments
 (0)