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

Fixes #7038
This commit is contained in:
Leah Amelia Chen
2025-04-09 08:32:50 +08:00
committed by GitHub

View File

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