Fix theme being overridden to light even after login is completed
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
dcc8862d4c
commit
b77c2df2be
|
@ -674,6 +674,7 @@ export default createReactClass({
|
||||||
this.state.view !== VIEWS.E2E_SETUP
|
this.state.view !== VIEWS.E2E_SETUP
|
||||||
) {
|
) {
|
||||||
this._onLoggedIn();
|
this._onLoggedIn();
|
||||||
|
ThemeController.isLogin = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'on_client_not_viable':
|
case 'on_client_not_viable':
|
||||||
|
|
|
@ -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
|
// https://github.com/vector-im/riot-web/issues/11443
|
||||||
recheck(forceTheme) {
|
recheck(forceTheme) {
|
||||||
const oldTheme = this._currentTheme;
|
const oldTheme = this._currentTheme;
|
||||||
|
|
Loading…
Reference in New Issue