Fix theme being overridden to light even after login is completed

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-02-21 14:40:42 +00:00
parent dcc8862d4c
commit b77c2df2be
2 changed files with 2 additions and 1 deletions

View File

@ -674,6 +674,7 @@ export default createReactClass({
this.state.view !== VIEWS.E2E_SETUP
) {
this._onLoggedIn();
ThemeController.isLogin = false;
}
break;
case 'on_client_not_viable':

View File

@ -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;