From c932dd8c9be86850c83d068186c91a6e0e1ba3c7 Mon Sep 17 00:00:00 2001 From: Timo <16718859+toger5@users.noreply.github.com> Date: Wed, 13 Mar 2024 14:58:21 +0100 Subject: [PATCH] Theme loading without flickering (#2233) --- package.json | 2 +- public/index.html | 3 ++- src/App.tsx | 2 ++ src/FullScreenView.tsx | 6 +++--- src/auth/useInteractiveRegistration.ts | 1 + src/index.css | 4 ++++ src/useTheme.ts | 8 ++++---- src/widget.ts | 2 ++ 8 files changed, 19 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index d3af7fb4..0c297141 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "i18next-http-backend": "^2.0.0", "livekit-client": "^2.0.2", "lodash": "^4.17.21", - "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#8123e9a3f1142a7619758c0a238172b007e3a06a", + "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#d55c6a36df539f6adacc335efe5b9be27c9cee4a", "matrix-widget-api": "^1.3.1", "normalize.css": "^8.0.1", "pako": "^2.0.4", diff --git a/public/index.html b/public/index.html index 93dd8973..df1edfd9 100644 --- a/public/index.html +++ b/public/index.html @@ -13,7 +13,8 @@ -
+ + diff --git a/src/App.tsx b/src/App.tsx index d4df1d09..bcd049b1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -72,7 +72,9 @@ export const App: FC