mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Save smart postion user default
This commit is contained in:
parent
f3d51d9fcc
commit
bdb38b426e
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,9 @@ struct AppSettings: View {
|
|||
Label("appsettings.smartposition", systemImage: "brain.fill")
|
||||
}
|
||||
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
|
||||
.onChange(of: (enableSmartPosition)) { newEnableSmartPosition in
|
||||
UserDefaults.enableSmartPosition = newEnableSmartPosition
|
||||
}
|
||||
VStack {
|
||||
Picker("update.interval", selection: $provideLocationInterval) {
|
||||
ForEach(LocationUpdateInterval.allCases) { lu in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue