diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 229c741310..de916ad7aa 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1175,6 +1175,7 @@ export default createReactClass({ * Called when a new logged in session has started */ _onLoggedIn: async function() { + ThemeController.isLogin = false; this.setStateForNewView({ view: VIEWS.LOGGED_IN }); if (MatrixClientPeg.currentUserIsJustRegistered()) { MatrixClientPeg.setJustRegisteredUserId(null); diff --git a/src/theme.js b/src/theme.js index 774148dacd..442a89e25f 100644 --- a/src/theme.js +++ b/src/theme.js @@ -70,7 +70,7 @@ export class ThemeWatcher { } }; - // XXX: forceTheme param aded here as local echo appears to be unreliable + // XXX: forceTheme param added here as local echo appears to be unreliable // https://github.com/vector-im/riot-web/issues/11443 recheck(forceTheme) { const oldTheme = this._currentTheme;