1
0
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:
Michael Telatynski
2023-01-16 09:49:41 +00:00
committed by GitHub
parent fdcfa92c37
commit 2eef3c47e6

View File

@@ -987,6 +987,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
roomJustCreatedOpts: roomInfo.justCreatedOpts,
},
() => {
ThemeController.isLogin = false;
this.themeWatcher.recheck();
this.notifyNewScreen("room/" + presentedId, replaceLast);
},
);