From 8a2a78d62f1cb9a75fe3fc5254f76cc4ffdd26f7 Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Fri, 22 Dec 2023 23:29:20 -0800 Subject: Added Save Chat button to Chat toolbar. --- Hotline/Application.swift | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Hotline/Application.swift') diff --git a/Hotline/Application.swift b/Hotline/Application.swift index 2e35e3c..65833f1 100644 --- a/Hotline/Application.swift +++ b/Hotline/Application.swift @@ -36,6 +36,18 @@ struct Application: App { ServerView(server: s) .frame(minWidth: 400, minHeight: 300) .environment(Hotline(trackerClient: HotlineTrackerClient(), client: HotlineClient())) + .toolbar { + ToolbarItem(placement: .navigation) { + Image(systemName: "globe.americas.fill") + .resizable() + .scaledToFit() +// .foregroundColor(.secondary) + .frame(width: 22) +// .fontWeight(.light) +// Text("􀵲") +// .font(.system(size: 22, weight: .ultraLight)) + } + } } } .defaultSize(width: 700, height: 800) -- cgit