Fix the first launch toolbar styles
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -51,9 +51,9 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
|||||||
toolbar.allowsUserCustomization = true
|
toolbar.allowsUserCustomization = true
|
||||||
toolbar.autosavesConfiguration = true
|
toolbar.autosavesConfiguration = true
|
||||||
if #available(macOS 26, *) {
|
if #available(macOS 26, *) {
|
||||||
toolbar.displayMode = .iconAndLabel
|
|
||||||
} else {
|
|
||||||
toolbar.displayMode = .iconOnly
|
toolbar.displayMode = .iconOnly
|
||||||
|
} else {
|
||||||
|
toolbar.displayMode = .iconAndLabel
|
||||||
}
|
}
|
||||||
self.window?.toolbar = toolbar
|
self.window?.toolbar = toolbar
|
||||||
|
|
||||||
|
|||||||
@@ -74,9 +74,9 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
|
|||||||
toolbar.allowsUserCustomization = true
|
toolbar.allowsUserCustomization = true
|
||||||
toolbar.autosavesConfiguration = true
|
toolbar.autosavesConfiguration = true
|
||||||
if #available(macOS 26, *) {
|
if #available(macOS 26, *) {
|
||||||
toolbar.displayMode = .iconAndLabel
|
|
||||||
} else {
|
|
||||||
toolbar.displayMode = .iconOnly
|
toolbar.displayMode = .iconOnly
|
||||||
|
} else {
|
||||||
|
toolbar.displayMode = .iconAndLabel
|
||||||
}
|
}
|
||||||
self.window?.toolbar = toolbar
|
self.window?.toolbar = toolbar
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user