mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 02:22:25 +00:00
Use #unavailable instead of #available/else.
This commit is contained in:
1 parent
2f9925a58c
commit
b5b894ed2a
1 file changed
+1
-3
@@ -100,9 +100,7 @@ final class MainWindowController: NSWindowController, NSUserInterfaceValidations
|
||||
|
||||
detailViewController = splitViewController?.splitViewItems[2].viewController as? DetailViewController
|
||||
|
||||
if #available(macOS 26.0, *) {
|
||||
// On macOS 26, Liquid Glass handles the toolbar/content boundary.
|
||||
} else {
|
||||
if #unavailable(macOS 26.0) {
|
||||
splitViewController?.splitViewItems[2].titlebarSeparatorStyle = .line
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user