Merge pull request #1033 from matrix-org/dbkr/always_show_spinner_during_first_sync
Always show the spinner during the first syncpull/21833/head
commit
015cac9a9e
|
@ -507,7 +507,11 @@ module.exports = React.createClass({
|
||||||
this._onSetTheme(payload.value);
|
this._onSetTheme(payload.value);
|
||||||
break;
|
break;
|
||||||
case 'on_logging_in':
|
case 'on_logging_in':
|
||||||
this.setState({loggingIn: true});
|
// We are now logging in, so set the state to reflect that
|
||||||
|
// and also that we're not ready (we'll be marked as logged
|
||||||
|
// in once the login completes, then ready once the sync
|
||||||
|
// completes).
|
||||||
|
this.setState({loggingIn: true, ready: false});
|
||||||
break;
|
break;
|
||||||
case 'on_logged_in':
|
case 'on_logged_in':
|
||||||
this._onLoggedIn(payload.teamToken);
|
this._onLoggedIn(payload.teamToken);
|
||||||
|
|
Loading…
Reference in New Issue