[FIX] Remove animation from RoomsListView.willFocus (#1239)

This commit is contained in:
Diego Mello 2019-09-26 13:54:39 -03:00 committed by GitHub
parent a1297d0e6c
commit 6889241b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -165,7 +165,6 @@ class RoomsListView extends React.Component {
this.willFocusListener = props.navigation.addListener('willFocus', () => { this.willFocusListener = props.navigation.addListener('willFocus', () => {
// Check if there were changes while not focused (it's set on sCU) // Check if there were changes while not focused (it's set on sCU)
if (this.shouldUpdate) { if (this.shouldUpdate) {
animateNextTransition();
this.forceUpdate(); this.forceUpdate();
this.shouldUpdate = false; this.shouldUpdate = false;
} }