gtk: fix forcing the window theme to light or dark (#7039)

Fixes #7038
pull/7052/head
Leah Amelia Chen 2025-04-09 08:32:50 +08:00 committed by GitHub
commit 046e92865b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -314,8 +314,8 @@ pub fn init(core_app: *CoreApp, opts: Options) !App {
.prefer_dark; .prefer_dark;
}, },
.system => .prefer_light, .system => .prefer_light,
.dark => .prefer_dark, .dark => .force_dark,
.light => .force_dark, .light => .force_light,
}, },
); );