diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-12 15:27:00 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-12 15:27:00 -0800 |
| commit | 248fcbbd5dca84747e6f3fd9d1d52c41ab8640c3 (patch) | |
| tree | f8f76c7b071aff2fe56c4e900c72dcbaddd3c62a /Hotline/Views/TrackerView.swift | |
| parent | f71c4cae3b21db506573bcdfa9fdb6cde41cc0ca (diff) | |
New category listing is working again. Added optionset for user access info. Some UI cleanup across the board.
Diffstat (limited to 'Hotline/Views/TrackerView.swift')
| -rw-r--r-- | Hotline/Views/TrackerView.swift | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Hotline/Views/TrackerView.swift b/Hotline/Views/TrackerView.swift index 01f4311..acb2069 100644 --- a/Hotline/Views/TrackerView.swift +++ b/Hotline/Views/TrackerView.swift @@ -199,13 +199,33 @@ struct TrackerView: View { // "hotline.ubersoft.org" // "tracked.nailbat.com" // "hotline.duckdns.org" - self.servers = await model.getServers(address: "tracked.agent79.org") +// "tracked.agent79.org" + self.servers = await model.getServers(address: "hltracker.com") } var body: some View { ZStack(alignment: .center) { VStack(alignment: .center) { ZStack(alignment: .top) { + HStack(alignment: .center) { + Button { + connectVisible = true + connectDismissed = false + } label: { + Text(Image(systemName: "gearshape.fill")) + .symbolRenderingMode(.hierarchical) + .foregroundColor(.primary) + .font(.title2) + .padding(.leading, 16) + } + .sheet(isPresented: $connectVisible) { + connectDismissed = true + } content: { + TrackerConnectView() + } + Spacer() + } + .frame(height: 40.0) Image("Hotline") .resizable() .renderingMode(.template) |