Fix the first launch toolbar styles

This commit is contained in:
Damiano Galassi committed 2026-09-22 20:03:06 +02:00
1 parent 334bc51906
commit 9896d96e87
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -51,9 +51,9 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
toolbar.allowsUserCustomization = true
toolbar.autosavesConfiguration = true
if #available(macOS 26, *) {
toolbar.displayMode = .iconAndLabel
} else {
toolbar.displayMode = .iconOnly
} else {
toolbar.displayMode = .iconAndLabel
}
self.window?.toolbar = toolbar
+2 -2
View File
@@ -74,9 +74,9 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
toolbar.allowsUserCustomization = true
toolbar.autosavesConfiguration = true
if #available(macOS 26, *) {
toolbar.displayMode = .iconAndLabel
} else {
toolbar.displayMode = .iconOnly
} else {
toolbar.displayMode = .iconAndLabel
}
self.window?.toolbar = toolbar