damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 0902548336507250a89d77b24e4d0295c9af878b
parent 09547529ad62271e684e7923b8f3710c5816a13c
Author: radixrat <radixrat@protonmail.com>
Date:   Thu,  2 Feb 2023 13:31:24 -0500

Clicking on relay numbers on home view brings you to config

Changelog-Changed: Clicking relay numbers now goes to relay config
Closes: #491

Diffstat:
Mdamus/ContentView.swift | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/damus/ContentView.swift b/damus/ContentView.swift @@ -260,9 +260,11 @@ struct ContentView: View { ToolbarItem(placement: .navigationBarTrailing) { HStack(alignment: .center) { if home.signal.signal != home.signal.max_signal { - Text("\(home.signal.signal)/\(home.signal.max_signal)", comment: "Fraction of how many of the user's relay servers that are operational.") - .font(.callout) - .foregroundColor(.gray) + NavigationLink(destination: RelayConfigView(state: damus_state!)) { + Text("\(home.signal.signal)/\(home.signal.max_signal)", comment: "Fraction of how many of the user's relay servers that are operational.") + .font(.callout) + .foregroundColor(.gray) + } } }