From 6c1f8660682656001a3f4167d5fedaf73c0e2bc5 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 13 Jan 2023 15:02:50 +0000 Subject: [PATCH] Clear isLogin theme override when user is no longer viewing login screens --- 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 df2aa87f2c4..dbbb40cfeaf 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); }, );