mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-01 10:27:06 +03:00
Add comment about why we call SdkConfig twice
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
eb40de4670
commit
c825ab0fa3
1 changed files with 3 additions and 0 deletions
|
@ -263,6 +263,9 @@ async function loadApp() {
|
|||
} catch (e) {
|
||||
configError = e;
|
||||
}
|
||||
|
||||
// XXX: We call this twice, once here and once in MatrixChat as a prop. We call it here to ensure
|
||||
// granular settings are loaded correctly and to avoid duplicating the override logic for the theme.
|
||||
SdkConfig.put(configJson);
|
||||
|
||||
// don't try to redirect to the native apps if we're
|
||||
|
|
Loading…
Reference in a new issue