Theme loading without flickering (#2233)

This commit is contained in:
Timo
2024-03-13 14:58:21 +01:00
committed by GitHub
parent 4a9a58475f
commit c932dd8c9b
8 changed files with 19 additions and 9 deletions

View File

@@ -158,6 +158,8 @@ export const widget = ((): WidgetHelpers | null => {
useE2eForGroupCall: e2eEnabled,
fallbackICEServerAllowed: allowIceFallback,
},
// ContentLoaded event will be sent as soon as the theme is set (see useTheme.ts)
false,
);
const clientPromise = new Promise<MatrixClient>((resolve) => {