diff --git a/loading.html b/loading.html index db98141cfd..951128d1e5 100644 --- a/loading.html +++ b/loading.html @@ -24,7 +24,7 @@ -
+
diff --git a/ts/windows/loading/preload.preload.ts b/ts/windows/loading/preload.preload.ts index 710cea2ee3..162fdb15c1 100644 --- a/ts/windows/loading/preload.preload.ts +++ b/ts/windows/loading/preload.preload.ts @@ -2,10 +2,6 @@ // SPDX-License-Identifier: AGPL-3.0-only import { contextBridge } from 'electron'; -import { config } from '../../context/config.preload.js'; -import { localeMessages } from '../../context/localeMessages.preload.js'; +import { MinimalSignalContext } from '../minimalContext.preload.js'; -contextBridge.exposeInMainWorld('SignalContext', { - getI18nLocale: () => config.resolvedTranslationsLocale, - getI18nLocaleMessages: () => localeMessages, -}); +contextBridge.exposeInMainWorld('SignalContext', MinimalSignalContext); diff --git a/ts/windows/loading/start.dom.ts b/ts/windows/loading/start.dom.ts index 14a681d658..e079e76919 100644 --- a/ts/windows/loading/start.dom.ts +++ b/ts/windows/loading/start.dom.ts @@ -1,5 +1,6 @@ // Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only +import '../sandboxedInit.dom.js'; const message = document.getElementById('message'); if (message) {