From 2eef3c47e663d925898d9a675a1b4f514fcd74cc Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 16 Jan 2023 09:49:41 +0000 Subject: [PATCH] Clear isLogin theme override when user is no longer viewing login screens (#9911) --- src/components/structures/MatrixChat.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index df2aa87f2c..dbbb40cfea 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -987,6 +987,8 @@ export default class MatrixChat extends React.PureComponent { roomJustCreatedOpts: roomInfo.justCreatedOpts, }, () => { + ThemeController.isLogin = false; + this.themeWatcher.recheck(); this.notifyNewScreen("room/" + presentedId, replaceLast); }, );