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.

This commit is contained in:
Grant Limberg 2016-06-30 20:28:04 -07:00
parent f4192d7b9e
commit 58207b30d1

View File

@ -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) {