mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Merge pull request #1290 from meshtastic/2.6.9
Reboot on Security Config Save
This commit is contained in:
commit
0f4728cdf3
1 changed files with 8 additions and 0 deletions
|
|
@ -349,6 +349,14 @@ struct SecurityConfig: View {
|
|||
}
|
||||
}
|
||||
hasChanges = false
|
||||
if keyUpdated {
|
||||
if !bleManager.sendReboot(
|
||||
fromUser: fromUser,
|
||||
toUser: toUser
|
||||
) {
|
||||
Logger.mesh.warning("Reboot Failed")
|
||||
}
|
||||
}
|
||||
goBack()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue