mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-03 11:44:09 +00:00
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:
parent
f4192d7b9e
commit
58207b30d1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user