From c2422fd2fd2e0bfc1875fb52405a766dddc10116 Mon Sep 17 00:00:00 2001
From: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
Date: Thu, 13 Nov 2025 16:37:53 -0500
Subject: [PATCH] Fix loading screen theme
---
loading.html | 2 +-
ts/windows/loading/preload.preload.ts | 8 ++------
ts/windows/loading/start.dom.ts | 1 +
3 files changed, 4 insertions(+), 7 deletions(-)
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) {