@ -123,7 +123,7 @@ ipcRenderer.on('native-theme-update', (__unused, shouldUseDarkColors) => {
theme: newTheme,
mainWindow: true,
usePrimaryColor: true,
dispatch: window?.inboxStore?.dispatch || undefined,
dispatch: window?.inboxStore?.dispatch,
});
}
@ -34,7 +34,7 @@ export async function ensureThemeConsistency(): Promise<boolean> {
resolve(true); // Theme was switched
} else {