You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-20 20:42:03 +03:00
Clear isLogin theme override when user is no longer viewing login screens (#9911)
This commit is contained in:
committed by
GitHub
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);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user