mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Merge pull request #1033 from matrix-org/dbkr/always_show_spinner_during_first_sync
Always show the spinner during the first sync
This commit is contained in:
commit
015cac9a9e
@ -507,7 +507,11 @@ module.exports = React.createClass({
|
||||
this._onSetTheme(payload.value);
|
||||
break;
|
||||
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;
|
||||
case 'on_logged_in':
|
||||
this._onLoggedIn(payload.teamToken);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user