diff --git a/Mac/Base.lproj/MainWindow.storyboard b/Mac/Base.lproj/MainWindow.storyboard index 55fc78c05..86aad056d 100644 --- a/Mac/Base.lproj/MainWindow.storyboard +++ b/Mac/Base.lproj/MainWindow.storyboard @@ -1,8 +1,8 @@ - + - + @@ -298,24 +298,24 @@ - - + + - + - + - + - + @@ -328,7 +328,7 @@ - + @@ -346,7 +346,7 @@ - + @@ -466,55 +466,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -522,17 +529,12 @@ - - - - - @@ -543,6 +545,7 @@ + @@ -609,9 +612,9 @@ - - - + + + diff --git a/Mac/MainWindow/Timeline/TimelineContainerViewController.swift b/Mac/MainWindow/Timeline/TimelineContainerViewController.swift index b43b210fd..5814fa80c 100644 --- a/Mac/MainWindow/Timeline/TimelineContainerViewController.swift +++ b/Mac/MainWindow/Timeline/TimelineContainerViewController.swift @@ -26,6 +26,7 @@ final class TimelineContainerViewController: NSViewController { @IBOutlet weak var readFilteredButton: NSButton! @IBOutlet var containerView: TimelineContainerView! + @IBOutlet weak var sortAndFilterViewHeightConstraint: NSLayoutConstraint! var currentTimelineViewController: TimelineViewController? { didSet { @@ -69,6 +70,10 @@ final class TimelineContainerViewController: NSViewController { makeMenuItemTitleLarger(groupByFeedMenuItem) updateViewOptionsPopUpButton() + if #available(macOS 11.0, *) { + sortAndFilterViewHeightConstraint.constant = 0 + } + NotificationCenter.default.addObserver(self, selector: #selector(userDefaultsDidChange(_:)), name: UserDefaults.didChangeNotification, object: nil) }