mirror of https://github.com/vector-im/riot-web
Merge pull request #4518 from matrix-org/bwindels/recheckthemeonlogin
Re-apply theme after loginpull/21833/head
commit
00d7e77379
|
@ -1186,6 +1186,7 @@ export default createReactClass({
|
||||||
*/
|
*/
|
||||||
_onLoggedIn: async function() {
|
_onLoggedIn: async function() {
|
||||||
ThemeController.isLogin = false;
|
ThemeController.isLogin = false;
|
||||||
|
this._themeWatcher.recheck();
|
||||||
this.setStateForNewView({ view: VIEWS.LOGGED_IN });
|
this.setStateForNewView({ view: VIEWS.LOGGED_IN });
|
||||||
// If a specific screen is set to be shown after login, show that above
|
// 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.
|
// all else, as it probably means the user clicked on something already.
|
||||||
|
|
Loading…
Reference in New Issue