mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: enabled toolbar in the Settings for macOS 10.15 (#1289)
This commit is contained in:
@@ -68,9 +68,7 @@ class SettingsWindow: NSWindow, NSWindowDelegate, NSToolbarDelegate {
|
||||
newToolbar.showsBaselineSeparator = true
|
||||
newToolbar.delegate = self
|
||||
|
||||
if #available(macOS 11, *) {
|
||||
self.toolbar = newToolbar
|
||||
}
|
||||
self.toolbar = newToolbar
|
||||
self.contentViewController = sidebarViewController
|
||||
self.titlebarAppearsTransparent = true
|
||||
self.backgroundColor = .clear
|
||||
|
||||
Reference in New Issue
Block a user