Clear isLogin theme override when user is no longer viewing login screens (#9911)

pull/28217/head
Michael Telatynski 2023-01-16 09:49:41 +00:00 committed by GitHub
parent fdcfa92c37
commit 2eef3c47e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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);
},
);