From b95bcc4bb73c4d04bbffd3f0a643f33ae12f2de6 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Thu, 2 Feb 2023 15:30:34 +0100 Subject: [PATCH] fix: enabled toolbar in the Settings for macOS 10.15 (#1289) --- Stats/Views/Settings.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Stats/Views/Settings.swift b/Stats/Views/Settings.swift index b713374c..57d4d5b5 100644 --- a/Stats/Views/Settings.swift +++ b/Stats/Views/Settings.swift @@ -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