You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Fix theme being overridden to light even after login is completed
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user