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

Re-apply theme after login
This commit is contained in:
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

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.