SteamOS: always use dark theme

This commit is contained in:
AAGaming 2023-12-27 21:32:22 -05:00
parent d71d0c1cc4
commit 9e5c362f38
No known key found for this signature in database
GPG key ID: 00CFCD925A3E0C50

View file

@ -442,6 +442,11 @@ function createMainWindow() {
const runVencordMain = once(() => require(join(VENCORD_FILES_DIR, "vencordDesktopMain.js")));
export async function createWindows() {
if (isDeckGameMode) {
// In the Flatpak on SteamOS the theme is detected as light, but SteamOS only has a dark mode, so we just override it
nativeTheme.themeSource = "dark";
}
const { startMinimized } = Settings.store;
const splash = createSplashWindow(startMinimized);
// SteamOS letterboxes and scales it terribly, so just full screen it