Set opt in

This commit is contained in:
Garth Vander Houwen 2025-11-02 08:49:33 -08:00
parent b327f13971
commit feb9cf1aa9

View file

@ -263,6 +263,7 @@ struct MQTTConfig: View {
mqtt.jsonEnabled = self.jsonEnabled
mqtt.tlsEnabled = self.tlsEnabled
mqtt.mapReportingEnabled = self.mapReportingEnabled
mqtt.mapReportSettings.shouldReportLocation = UserDefaults.mapReportingOptIn
mqtt.mapReportSettings.positionPrecision = UInt32(self.mapPositionPrecision)
mqtt.mapReportSettings.publishIntervalSecs = UInt32(self.mapPublishIntervalSecs.intValue)
Task {