From 58207b30d1b3da3d5f9e47496d5cdbaab79675ea Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 30 Jun 2016 20:28:04 -0700 Subject: [PATCH] now that the network details list uses the default background color of the pane its embedded in, we don't have to force to the "Light" theme, even if the user has selected the "dark" theme for the top menu bar. --- ZeroTier One/AppDelegate.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ZeroTier One/AppDelegate.swift b/ZeroTier One/AppDelegate.swift index b7e4a0553..887bab562 100644 --- a/ZeroTier One/AppDelegate.swift +++ b/ZeroTier One/AppDelegate.swift @@ -60,8 +60,6 @@ class AppDelegate: NSObject, NSApplicationDelegate { nibName: "JoinNetworkViewController", bundle: nil) joinNetworkPopover.behavior = .Transient - joinNetworkPopover.appearance = NSAppearance(named: NSAppearanceNameAqua) - let showNetworksView = ShowNetworksViewController( nibName: "ShowNetworksViewController", bundle: nil) showNetworksView?.netMonitor = monitor @@ -69,20 +67,13 @@ class AppDelegate: NSObject, NSApplicationDelegate { networkListPopover.contentViewController = showNetworksView networkListPopover.behavior = .Transient - networkListPopover.appearance = NSAppearance(named: NSAppearanceNameAqua) - preferencesPopover.contentViewController = PreferencesViewController( nibName: "PreferencesViewController", bundle: nil) preferencesPopover.behavior = .Transient - preferencesPopover.appearance = NSAppearance(named: NSAppearanceNameAqua) - aboutPopover.contentViewController = AboutViewController( nibName: "AboutViewController", bundle: nil) aboutPopover.behavior = .Transient - - aboutPopover.appearance = NSAppearance(named: NSAppearanceNameAqua) - } func applicationWillTerminate(aNotification: NSNotification) {