Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Clear isLogin theme override when user is no longer viewing login scr…
Browse files Browse the repository at this point in the history
…eens (#9911)
  • Loading branch information
t3chguy authored Jan 16, 2023
1 parent fdcfa92 commit 2eef3c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/structures/MatrixChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
);
Expand Down

0 comments on commit 2eef3c4

Please sign in to comment.