From 86974614249e3db6ca0943ed68f7755d79dd0791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Billiet=20Cadart?= Date: Tue, 17 Feb 2026 16:08:15 +0100 Subject: [PATCH] fix: variable name 'oldReactStyle' typo --- ios/RNMBX/RNMBXBackgroundLayer.swift | 2 +- ios/RNMBX/RNMBXCircleLayer.swift | 2 +- ios/RNMBX/RNMBXFillExtrusionLayer.swift | 2 +- ios/RNMBX/RNMBXFillLayer.swift | 2 +- ios/RNMBX/RNMBXHeatmapLayer.swift | 2 +- ios/RNMBX/RNMBXHillshadeLayer.swift | 2 +- ios/RNMBX/RNMBXLayer.swift | 4 ++-- ios/RNMBX/RNMBXLineLayer.swift | 2 +- ios/RNMBX/RNMBXModelLayer.swift | 2 +- ios/RNMBX/RNMBXRasterLayer.swift | 2 +- ios/RNMBX/RNMBXRasterParticleLayer.swift | 2 +- ios/RNMBX/RNMBXSkyLayer.swift | 2 +- ios/RNMBX/RNMBXSymbolLayer.swift | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ios/RNMBX/RNMBXBackgroundLayer.swift b/ios/RNMBX/RNMBXBackgroundLayer.swift index 43508bae85..095b3d3865 100644 --- a/ios/RNMBX/RNMBXBackgroundLayer.swift +++ b/ios/RNMBX/RNMBXBackgroundLayer.swift @@ -30,7 +30,7 @@ public class RNMBXBackgroundLayer: RNMBXLayer { styler.backgroundLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXBackgroundLayer.addStyles") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXCircleLayer.swift b/ios/RNMBX/RNMBXCircleLayer.swift index e18a1ccde1..fdb28faf27 100644 --- a/ios/RNMBX/RNMBXCircleLayer.swift +++ b/ios/RNMBX/RNMBXCircleLayer.swift @@ -80,7 +80,7 @@ public class RNMBXCircleLayer: RNMBXVectorLayer { styler.circleLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXCircleLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXFillExtrusionLayer.swift b/ios/RNMBX/RNMBXFillExtrusionLayer.swift index 9445615a95..d403689111 100644 --- a/ios/RNMBX/RNMBXFillExtrusionLayer.swift +++ b/ios/RNMBX/RNMBXFillExtrusionLayer.swift @@ -78,7 +78,7 @@ public class RNMBXFillExtrusionLayer: RNMBXVectorLayer { styler.fillExtrusionLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXFillExtrusionLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXFillLayer.swift b/ios/RNMBX/RNMBXFillLayer.swift index fdfd65f8bf..330030665f 100644 --- a/ios/RNMBX/RNMBXFillLayer.swift +++ b/ios/RNMBX/RNMBXFillLayer.swift @@ -80,7 +80,7 @@ public class RNMBXFillLayer: RNMBXVectorLayer { styler.fillLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXFillLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout FillLayer) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXHeatmapLayer.swift b/ios/RNMBX/RNMBXHeatmapLayer.swift index f82e122c5c..56ca5ea1ba 100644 --- a/ios/RNMBX/RNMBXHeatmapLayer.swift +++ b/ios/RNMBX/RNMBXHeatmapLayer.swift @@ -34,7 +34,7 @@ public class RNMBXHeatmapLayer: RNMBXVectorLayer { styler.heatmapLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXHeatmapLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout HeatmapLayer) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXHillshadeLayer.swift b/ios/RNMBX/RNMBXHillshadeLayer.swift index bcca74584a..7729383023 100644 --- a/ios/RNMBX/RNMBXHillshadeLayer.swift +++ b/ios/RNMBX/RNMBXHillshadeLayer.swift @@ -73,7 +73,7 @@ public class RNMBXHillshadeLayer: RNMBXLayer { styler.hillshadeLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater:{ (updater) in logged("RNMBXHillshadeLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXLayer.swift b/ios/RNMBX/RNMBXLayer.swift index 62e0656065..1967a5ea72 100644 --- a/ios/RNMBX/RNMBXLayer.swift +++ b/ios/RNMBX/RNMBXLayer.swift @@ -19,10 +19,10 @@ public class RNMBXLayer : UIView, RNMBXMapComponent, RNMBXSourceConsumer { didSet { self.optionsChanged() } } - var oldReatStyle: Dictionary? = nil + var oldReactStyle: Dictionary? = nil @objc public var reactStyle : Dictionary? = nil { willSet { - oldReatStyle = reactStyle + oldReactStyle = reactStyle } didSet { DispatchQueue.main.async { diff --git a/ios/RNMBX/RNMBXLineLayer.swift b/ios/RNMBX/RNMBXLineLayer.swift index 4ead3bab5e..0ab48cc3c0 100644 --- a/ios/RNMBX/RNMBXLineLayer.swift +++ b/ios/RNMBX/RNMBXLineLayer.swift @@ -79,7 +79,7 @@ public class RNMBXLineLayer: RNMBXVectorLayer { styler.lineLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXLineLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXModelLayer.swift b/ios/RNMBX/RNMBXModelLayer.swift index 425e979122..c531145520 100644 --- a/ios/RNMBX/RNMBXModelLayer.swift +++ b/ios/RNMBX/RNMBXModelLayer.swift @@ -79,7 +79,7 @@ public class RNMBXModelLayer: RNMBXVectorLayer { styler.modelLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXModelLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXRasterLayer.swift b/ios/RNMBX/RNMBXRasterLayer.swift index 97942e2838..230431f98a 100644 --- a/ios/RNMBX/RNMBXRasterLayer.swift +++ b/ios/RNMBX/RNMBXRasterLayer.swift @@ -74,7 +74,7 @@ public class RNMBXRasterLayer: RNMBXLayer { styler.rasterLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater:{ (updater) in logged("RNMBXRasterLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXRasterParticleLayer.swift b/ios/RNMBX/RNMBXRasterParticleLayer.swift index 53caf1cd0c..a7a6d442f1 100644 --- a/ios/RNMBX/RNMBXRasterParticleLayer.swift +++ b/ios/RNMBX/RNMBXRasterParticleLayer.swift @@ -73,7 +73,7 @@ public class RNMBXRasterParticleLayer: RNMBXLayer { styler.rasterParticleLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater:{ (updater) in logged("RNMBXRasterParticleLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXSkyLayer.swift b/ios/RNMBX/RNMBXSkyLayer.swift index a2d92cd093..42683f54a6 100644 --- a/ios/RNMBX/RNMBXSkyLayer.swift +++ b/ios/RNMBX/RNMBXSkyLayer.swift @@ -54,7 +54,7 @@ public class RNMBXSkyLayer: RNMBXLayer { styler.skyLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXSkyLayer.addStyles") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }}, diff --git a/ios/RNMBX/RNMBXSymbolLayer.swift b/ios/RNMBX/RNMBXSymbolLayer.swift index 1b9c7a5e45..a2e2a357d6 100644 --- a/ios/RNMBX/RNMBXSymbolLayer.swift +++ b/ios/RNMBX/RNMBXSymbolLayer.swift @@ -80,7 +80,7 @@ public class RNMBXSymbolLayer: RNMBXVectorLayer { styler.symbolLayer( layer: &styleLayer, reactStyle: reactStyle, - oldReactStyle: oldReatStyle, + oldReactStyle: oldReactStyle, applyUpdater: { (updater) in logged("RNMBXSymbolLayer.updateLayer") { try style.updateLayer(withId: self.id, type: LayerType.self) { (layer: inout LayerType) in updater(&layer) } }},