Skip to content

Commit

Permalink
fix for ios setTelemetryEnabled (#3292)
Browse files Browse the repository at this point in the history
  • Loading branch information
cixio authored Jan 4, 2024
1 parent a280a6c commit a934402
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ios/RNMBX/RNMBXModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ class RNMBXModule : NSObject {
}

@objc func setTelemetryEnabled(_ telemetryEnabled: Bool) {
#if !RNMBX_11 // RNMBX_11_TODO
UserDefaults.mme_configuration().mme_isCollectionEnabled = telemetryEnabled
#endif
UserDefaults.standard.set(telemetryEnabled, forKey: "MGLMapboxMetricsEnabled")
}

@objc func setWellKnownTileServer(_ tileServer: String) {
Expand Down

0 comments on commit a934402

Please sign in to comment.