commit d0e9e6c03a77ac4d3d122a5f8f08a64821df8296
parent 0b27a49e32a89a0dcd594ca16ae8add832159e7c
Author: Joel Klabo <joelklabo@gmail.com>
Date: Wed, 28 Dec 2022 21:18:15 -0800
Reset Relay Add to Placeholder After Addding a Relay
Closes: #175
Changelog-Fixed: Reset relay in Add Relay view after adding
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Views/AddRelayView.swift b/damus/Views/AddRelayView.swift
@@ -58,6 +58,7 @@ struct AddRelayView: View {
Button("Add") {
show_add_relay = false
action(relay)
+ relay = ""
}
.buttonStyle(.borderedProminent)
.contentShape(Rectangle())