From fa87f7d2dd364a5f9a80d1736e878ee65555faed Mon Sep 17 00:00:00 2001 From: NeverAgain11 Date: Wed, 31 Jan 2024 16:45:29 +0800 Subject: [PATCH] Set appearance at launch (#377) --- Easydict/App/AppDelegate.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Easydict/App/AppDelegate.m b/Easydict/App/AppDelegate.m index ccec0a435..f4dc71d53 100644 --- a/Easydict/App/AppDelegate.m +++ b/Easydict/App/AppDelegate.m @@ -37,6 +37,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { [self registerRouters]; + [[DarkModeManager manager] updateDarkMode:Configuration.shared.appearance]; // Change App icon manually. // NSApplication.sharedApplication.applicationIconImage = [NSImage imageNamed:@"white-black-icon"]; }