mirror of
git://jb55.com/damus
synced 2024-09-30 00:40:45 +00:00
relay: use hostname in relay list instead of full URL
We already have the full relay URL under the name, we don't need to repeat it and this is a bit cleaner. Before: wss://damus.io wss://damus.io After: damus.io wss://damus.io Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
d58d777541
commit
07c504f701
@ -45,7 +45,7 @@ struct RelayView: View {
|
|||||||
|
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
HStack {
|
HStack {
|
||||||
Text(meta?.name ?? relay.absoluteString)
|
Text(meta?.name ?? relay.url.host() ?? relay.url.absoluteString)
|
||||||
.font(.headline)
|
.font(.headline)
|
||||||
.padding(.bottom, 2)
|
.padding(.bottom, 2)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user