Merge branch 'dev' into canary
This commit is contained in:
@@ -93,29 +93,6 @@ struct SettingsView: View {
|
|||||||
.id(pairedHostsToken)
|
.id(pairedHostsToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
Section {
|
|
||||||
if TailnetSupport.isBuiltIn {
|
|
||||||
if let status = store.tailnetStatus {
|
|
||||||
LabeledContent("Node", value: status)
|
|
||||||
}
|
|
||||||
if let loginURL = store.tailnetLoginURL {
|
|
||||||
Link(destination: loginURL) {
|
|
||||||
Label("Open Tailscale login", systemImage: "arrow.up.forward.app")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
Text("No setup needed — when your Mac shares over Tailscale, this iPhone joins your tailnet on first connect and opens a browser login to approve itself.")
|
|
||||||
.font(.caption).foregroundStyle(.secondary)
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
Text("This build doesn't include Tailscale support.")
|
|
||||||
.foregroundStyle(.secondary)
|
|
||||||
}
|
|
||||||
} header: {
|
|
||||||
Text("Tailscale")
|
|
||||||
} footer: {
|
|
||||||
Text("")
|
|
||||||
}
|
|
||||||
|
|
||||||
Section("This device") {
|
Section("This device") {
|
||||||
LabeledContent("Scope", value: store.grantedScope.rawValue.capitalized)
|
LabeledContent("Scope", value: store.grantedScope.rawValue.capitalized)
|
||||||
LabeledContent("Key fingerprint", value: store.deviceFingerprint)
|
LabeledContent("Key fingerprint", value: store.deviceFingerprint)
|
||||||
|
|||||||
Reference in New Issue
Block a user