fixed tab change issue

This commit is contained in:
ue 2019-09-20 00:45:07 +03:00
parent 2473eac8b0
commit 43ac6ed2f9

View File

@ -97,7 +97,7 @@ class ProfileContainer extends Component {
get(nextProps, 'activeBottomTab') === ROUTES.TABBAR.PROFILE;
if ((isActiveTabChanged && user) || currentUsername) {
this._loadProfile(currentUsername);
this._loadProfile(get(nextProps, 'currentAccount.name'));
}
}
}