Merge pull request #1314 from meshtastic/2.6.12

Don't hide onboarding button if bluetooth is off
This commit is contained in:
Garth Vander Houwen 2025-07-16 07:48:53 -07:00 committed by GitHub
commit b3e06a0b2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,20 +62,18 @@ struct DeviceOnboarding: View {
.interactiveDismissDisabled()
}
Spacer()
if bleManager.isSwitchedOn {
Button {
Task {
await goToNextStep(after: nil)
}
} label: {
Text("Get started")
.frame(maxWidth: .infinity)
Button {
Task {
await goToNextStep(after: nil)
}
.buttonBorderShape(.capsule)
.controlSize(.large)
.padding()
.buttonStyle(.borderedProminent)
} label: {
Text("Get started")
.frame(maxWidth: .infinity)
}
.buttonBorderShape(.capsule)
.controlSize(.large)
.padding()
.buttonStyle(.borderedProminent)
}
}