Add Relay Detail View

Changelog-Added: Relay Detail View
Closes: #479
This commit is contained in:
Joel Klabo
2023-02-01 13:49:32 -08:00
committed by William Casarin
parent 852609ee30
commit 552402f2b5
5 changed files with 165 additions and 1 deletions
+5 -1
View File
@@ -34,7 +34,11 @@ struct RelayView: View {
Circle()
.frame(width: 8.0, height: 8.0)
.foregroundColor(conn_color)
Text(relay)
NavigationLink {
RelayDetailView(state: state, relay: relay, conn_color: conn_color)
} label: {
Text(relay)
}
}
.onReceive(timer) { _ in
update_connection_color()