diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-22 22:27:36 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-22 22:27:36 -0800 |
| commit | 141ba771eddd2e504a0f29bafd7b9f7c032b72c0 (patch) | |
| tree | 7e1949065c2061cdec9aaea6c834881d7b2fcac7 /Hotline/Application.swift | |
| parent | b9443172e78669b78d3bd3fa4f20e1b202d9c741 (diff) | |
Add icon to Servers window. Add a simple app icon for macOS.
Diffstat (limited to 'Hotline/Application.swift')
| -rw-r--r-- | Hotline/Application.swift | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Hotline/Application.swift b/Hotline/Application.swift index 93bf025..2e35e3c 100644 --- a/Hotline/Application.swift +++ b/Hotline/Application.swift @@ -14,9 +14,19 @@ struct Application: App { .environment(model) } #elseif os(macOS) - WindowGroup { + Window("Servers", id: "servers") { TrackerView() .frame(minWidth: 250, minHeight: 250) + .toolbar { + ToolbarItem(placement: .navigation) { + Image("Hotline") + .resizable() + .renderingMode(.template) + .scaledToFit() + .foregroundColor(Color(hex: 0xE10000)) + .frame(width: 9) + } + } } .defaultSize(width: 700, height: 600) .defaultPosition(.center) |