Merge pull request #4518 from matrix-org/bwindels/recheckthemeonlogin

Re-apply theme after login
pull/21833/head
Bruno Windels 2020-04-30 08:26:15 +00:00 committed by GitHub
commit 00d7e77379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1186,6 +1186,7 @@ export default createReactClass({
*/
_onLoggedIn: async function() {
ThemeController.isLogin = false;
this._themeWatcher.recheck();
this.setStateForNewView({ view: VIEWS.LOGGED_IN });
// If a specific screen is set to be shown after login, show that above
// all else, as it probably means the user clicked on something already.