Browse Source

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.

Grant Limberg 9 years ago
parent
commit
58207b30d1
1 changed files with 0 additions and 9 deletions
  1. 0 9
      ZeroTier One/AppDelegate.swift

+ 0 - 9
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) {