mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Merge pull request #4518 from matrix-org/bwindels/recheckthemeonlogin
Re-apply theme after login
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user