mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Sync user settings after setting connected device and preferred
This commit is contained in:
parent
d765cb6411
commit
b71a30b97d
1 changed files with 1 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ class BLEManager: NSObject, CBPeripheralDelegate, ObservableObject {
|
|||
preferredPeripheral = false
|
||||
print("Trying to connect a non prefered peripheral")
|
||||
}
|
||||
UserDefaults.standard.synchronize()
|
||||
// Invalidate and reset connection timer count
|
||||
timeoutTimerCount = 0
|
||||
if timeoutTimer != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue