mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-09 00:28:53 +01:00
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.setDraggingSourceOperationMask(.copy, forLocal: false)
|
||||||
tableView.keyboardDelegate = keyboardDelegate
|
tableView.keyboardDelegate = keyboardDelegate
|
||||||
|
|
||||||
|
if #available(macOS 11.0, *) {
|
||||||
|
tableView.style = .plain
|
||||||
|
}
|
||||||
|
|
||||||
if !didRegisterForNotifications {
|
if !didRegisterForNotifications {
|
||||||
NotificationCenter.default.addObserver(self, selector: #selector(statusesDidChange(_:)), name: .StatusesDidChange, object: nil)
|
NotificationCenter.default.addObserver(self, selector: #selector(statusesDidChange(_:)), name: .StatusesDidChange, object: nil)
|
||||||
NotificationCenter.default.addObserver(self, selector: #selector(webFeedIconDidBecomeAvailable(_:)), name: .WebFeedIconDidBecomeAvailable, object: nil)
|
NotificationCenter.default.addObserver(self, selector: #selector(webFeedIconDidBecomeAvailable(_:)), name: .WebFeedIconDidBecomeAvailable, object: nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user