Skip to content

Commit 781c73e

Browse files
committed
Remove unused property from NavigationSettings
1 parent c9b435c commit 781c73e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Sources/MapboxCoreNavigation/NavigationSettings.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,6 @@ public class NavigationSettings {
149149
*/
150150
public static let shared: NavigationSettings = .init()
151151

152-
/// Returns a reflection of this class excluding the `properties` variable.
153-
lazy var properties: [Mirror.Child] = {
154-
let properties = Mirror(reflecting: self).children
155-
return properties.filter({ (child) -> Bool in
156-
if let label = child.label {
157-
return label != "properties.storage" && label != "$__lazy_storage_$_properties"
158-
}
159-
return false
160-
})
161-
}()
162-
163152
private func notifyChanged(property: StoredProperty, value: Any) {
164153
UserDefaults.standard.set(value, forKey: property.key.prefixed)
165154
NotificationCenter.default.post(name: .navigationSettingsDidChange,

0 commit comments

Comments
 (0)