mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Core data updates
This commit is contained in:
parent
2de49e4787
commit
6c1e28d94a
8 changed files with 488 additions and 10 deletions
|
|
@ -76,7 +76,7 @@ struct PaxCounterConfig: View {
|
|||
}
|
||||
}
|
||||
.onChange(of: paxcounterUpdateInterval) {
|
||||
if let val = node?.paxCounterConfig?.paxcounterUpdateInterval {
|
||||
if let val = node?.paxCounterConfig?.updateInterval {
|
||||
hasChanges = $0 != val
|
||||
}
|
||||
}
|
||||
|
|
@ -109,6 +109,6 @@ struct PaxCounterConfig: View {
|
|||
|
||||
private func setPaxValues() {
|
||||
enabled = node?.paxCounterConfig?.enabled ?? enabled
|
||||
paxcounterUpdateInterval = Int(node?.paxCounterConfig?.paxcounterUpdateInterval ?? 900)
|
||||
paxcounterUpdateInterval = Int(node?.paxCounterConfig?.updateInterval ?? 900)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue