...
|
...
|
@@ -104,7 +104,6 @@ class HomeContainer extends React.Component { |
|
|
(reminder) => {
|
|
|
let uid = reminder.uid;
|
|
|
this.props.actions.setUid(uid);
|
|
|
this.props.actions.syncUserWithSSOUid(uid);
|
|
|
this.triggerPullToRefresh();
|
|
|
}
|
|
|
);
|
...
|
...
|
@@ -120,9 +119,7 @@ class HomeContainer extends React.Component { |
|
|
}
|
|
|
|
|
|
componentDidMount() {
|
|
|
InteractionManager.runAfterInteractions(() => {
|
|
|
this.props.actions.syncUserInfo(false);
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
componentWillUnmount() {
|
...
|
...
|
@@ -172,6 +169,10 @@ class HomeContainer extends React.Component { |
|
|
|
|
|
_onRefresh() {
|
|
|
InteractionManager.runAfterInteractions(() => {
|
|
|
let uid = this.props.user.profile.uid;
|
|
|
if (uid) {
|
|
|
this.props.actions.syncUserWithSSOUid(uid);
|
|
|
}
|
|
|
this.props.actions.bannerNoticeSection();
|
|
|
this.props.actions.recommendation(true);
|
|
|
});
|
...
|
...
|
|