Set table view to style plain to avoid Big Sur's big margins. Fixes #2584
This commit is contained in:
parent
f7574dc633
commit
eb5e85cbcf
|
@ -208,6 +208,10 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
|
|||
tableView.setDraggingSourceOperationMask(.copy, forLocal: false)
|
||||
tableView.keyboardDelegate = keyboardDelegate
|
||||
|
||||
if #available(macOS 11.0, *) {
|
||||
tableView.style = .plain
|
||||
}
|
||||
|
||||
if !didRegisterForNotifications {
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(statusesDidChange(_:)), name: .StatusesDidChange, object: nil)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(webFeedIconDidBecomeAvailable(_:)), name: .WebFeedIconDidBecomeAvailable, object: nil)
|
||||
|
|
Loading…
Reference in New Issue