Clear isLogin theme override when user is no longer viewing login screens (#9911)
parent
fdcfa92c37
commit
2eef3c47e6
|
@ -987,6 +987,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||||
roomJustCreatedOpts: roomInfo.justCreatedOpts,
|
roomJustCreatedOpts: roomInfo.justCreatedOpts,
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
|
ThemeController.isLogin = false;
|
||||||
|
this.themeWatcher.recheck();
|
||||||
this.notifyNewScreen("room/" + presentedId, replaceLast);
|
this.notifyNewScreen("room/" + presentedId, replaceLast);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue