diff --git a/Meshtastic/Views/Settings/AppSettings.swift b/Meshtastic/Views/Settings/AppSettings.swift index 9e2a2af7..b0802fb9 100644 --- a/Meshtastic/Views/Settings/AppSettings.swift +++ b/Meshtastic/Views/Settings/AppSettings.swift @@ -103,7 +103,10 @@ struct AppSettings: View { self.bleManager.context = context } .onChange(of: userSettings.provideLocation) { newProvideLocation in - self.bleManager.sendWantConfig() + + if bleManager.connectedPeripheral != nil { + self.bleManager.sendWantConfig() + } } } }