Keep custom theme active after reload (#32506)
* fix: keep custom theme active after reload * test: add e2e test * test: fix matrix chat test
This commit is contained in:
@@ -78,6 +78,7 @@ jest.mock("matrix-js-sdk/src/oidc/authorize", () => ({
|
||||
// Stub out ThemeWatcher as the necessary bits for themes are done in element-web's index.html and thus are lacking here,
|
||||
// plus JSDOM's implementation of CSSStyleDeclaration has a bunch of differences to real browsers which cause issues.
|
||||
jest.mock("../../../../src/settings/watchers/ThemeWatcher");
|
||||
jest.mock("../../../../src/theme");
|
||||
|
||||
/** The matrix versions our mock server claims to support */
|
||||
const SERVER_SUPPORTED_MATRIX_VERSIONS = ["v1.1", "v1.5", "v1.6", "v1.8", "v1.9"];
|
||||
|
||||
Reference in New Issue
Block a user