Fix a couple of lingering config view crashing if a device disconnects while on the view, hook up QR code deep link

This commit is contained in:
Garth Vander Houwen 2022-07-14 07:14:43 -07:00
parent 1d9a7c69f6
commit 1ecd094ef9
9 changed files with 68 additions and 8 deletions

View file

@ -272,7 +272,7 @@ struct SerialConfig: View {
.font(.caption)
}
}
.disabled(!(node!.myInfo?.hasWifi ?? false))
.disabled(!(node != nil && node!.myInfo?.hasWifi ?? false))
Button {