Clear isLogin theme override when user is no longer viewing login screens (#9911)
This commit is contained in:
parent
fdcfa92c37
commit
2eef3c47e6
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue