Ladybird: Use the correct theme file for the current AppKit theme
This commit is contained in:
parent
1e1c3e5a34
commit
e981c13a4f
Notes:
sideshowbarker
2024-07-17 09:49:48 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/e981c13a4f Pull-request: https://github.com/SerenityOS/serenity/pull/20824 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ Core::AnonymousBuffer create_system_palette()
|
|||
{
|
||||
auto is_dark = is_using_dark_system_theme();
|
||||
|
||||
auto theme_file = is_dark ? "Default"sv : "Dark"sv;
|
||||
auto theme_file = is_dark ? "Dark"sv : "Default"sv;
|
||||
auto theme_path = DeprecatedString::formatted("{}/res/themes/{}.ini", s_serenity_resource_root, theme_file);
|
||||
|
||||
auto theme = MUST(Gfx::load_system_theme(theme_path));
|
||||
|
|
Loading…
Add table
Reference in a new issue