Skip to content

Commit dc21daa

Browse files
committed
Remove OS guard
1 parent ea7cd25 commit dc21daa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

devdocs-macos/DocumentationWindowController.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ class DocumentationWindowController: NSWindowController {
7272

7373
@objc private func observeDocumentCategory() {
7474
guard let dvc = documentationViewController else { return }
75-
if #available(OSX 11.0, *) {
76-
self.window?.subtitle = dvc.documentCategory ?? ""
77-
}
75+
self.window?.subtitle = dvc.documentCategory ?? ""
7876
}
7977

8078
@objc private func observeDocumentURL() {

0 commit comments

Comments
 (0)