@@ -53,7 +53,7 @@ func fillLayer(layer: inout FillLayer, reactStyle:Dictionary<String, Any>, oldRe
5353 self . setFillTranslateAnchor ( & layer, styleValue: styleValue) ;
5454 } else if ( prop == " fillPattern " ) {
5555 styleValue. setImage (
56- bridge: bridge! ,
56+ bridge: bridge,
5757 style: style,
5858 oldValue: oldReactStyle ? [ prop] ,
5959 setImageOnLayer: { ( _) in self . setFillPattern ( & layer, styleValue: styleValue) } ,
@@ -63,7 +63,7 @@ func fillLayer(layer: inout FillLayer, reactStyle:Dictionary<String, Any>, oldRe
6363 )
6464 } else if ( prop == " fillPatternCrossFade " ) {
6565 styleValue. setImage (
66- bridge: bridge! ,
66+ bridge: bridge,
6767 style: style,
6868 oldValue: oldReactStyle ? [ prop] ,
6969 setImageOnLayer: { ( _) in self . setFillPatternCrossFade ( & layer, styleValue: styleValue) } ,
@@ -142,7 +142,7 @@ func lineLayer(layer: inout LineLayer, reactStyle:Dictionary<String, Any>, oldRe
142142 self . setLineDasharray ( & layer, styleValue: styleValue) ;
143143 } else if ( prop == " linePattern " ) {
144144 styleValue. setImage (
145- bridge: bridge! ,
145+ bridge: bridge,
146146 style: style,
147147 oldValue: oldReactStyle ? [ prop] ,
148148 setImageOnLayer: { ( _) in self . setLinePattern ( & layer, styleValue: styleValue) } ,
@@ -174,7 +174,7 @@ func lineLayer(layer: inout LineLayer, reactStyle:Dictionary<String, Any>, oldRe
174174 self . setLineElevationGroundScaleTransition ( & layer, styleValue: styleValue) ;
175175 } else if ( prop == " linePatternCrossFade " ) {
176176 styleValue. setImage (
177- bridge: bridge! ,
177+ bridge: bridge,
178178 style: style,
179179 oldValue: oldReactStyle ? [ prop] ,
180180 setImageOnLayer: { ( _) in self . setLinePatternCrossFade ( & layer, styleValue: styleValue) } ,
@@ -243,7 +243,7 @@ func symbolLayer(layer: inout SymbolLayer, reactStyle:Dictionary<String, Any>, o
243243 self . setIconTextFitPadding ( & layer, styleValue: styleValue) ;
244244 } else if ( prop == " iconImage " ) {
245245 styleValue. setImage (
246- bridge: bridge! ,
246+ bridge: bridge,
247247 style: style,
248248 oldValue: oldReactStyle ? [ prop] ,
249249 setImageOnLayer: { ( _) in self . setIconImage ( & layer, styleValue: styleValue) } ,
@@ -379,7 +379,7 @@ func symbolLayer(layer: inout SymbolLayer, reactStyle:Dictionary<String, Any>, o
379379 self . setTextEmissiveStrengthTransition ( & layer, styleValue: styleValue) ;
380380 } else if ( prop == " iconImageCrossFade " ) {
381381 styleValue. setImage (
382- bridge: bridge! ,
382+ bridge: bridge,
383383 style: style,
384384 oldValue: oldReactStyle ? [ prop] ,
385385 setImageOnLayer: { ( _) in self . setIconImageCrossFade ( & layer, styleValue: styleValue) } ,
@@ -546,7 +546,7 @@ func fillExtrusionLayer(layer: inout FillExtrusionLayer, reactStyle:Dictionary<S
546546 self . setFillExtrusionTranslateAnchor ( & layer, styleValue: styleValue) ;
547547 } else if ( prop == " fillExtrusionPattern " ) {
548548 styleValue. setImage (
549- bridge: bridge! ,
549+ bridge: bridge,
550550 style: style,
551551 oldValue: oldReactStyle ? [ prop] ,
552552 setImageOnLayer: { ( _) in self . setFillExtrusionPattern ( & layer, styleValue: styleValue) } ,
@@ -576,7 +576,7 @@ func fillExtrusionLayer(layer: inout FillExtrusionLayer, reactStyle:Dictionary<S
576576 self . setFillExtrusionRoundedRoof ( & layer, styleValue: styleValue) ;
577577 } else if ( prop == " fillExtrusionPatternCrossFade " ) {
578578 styleValue. setImage (
579- bridge: bridge! ,
579+ bridge: bridge,
580580 style: style,
581581 oldValue: oldReactStyle ? [ prop] ,
582582 setImageOnLayer: { ( _) in self . setFillExtrusionPatternCrossFade ( & layer, styleValue: styleValue) } ,
@@ -895,7 +895,7 @@ func backgroundLayer(layer: inout BackgroundLayer, reactStyle:Dictionary<String,
895895 self . setBackgroundColorTransition ( & layer, styleValue: styleValue) ;
896896 } else if ( prop == " backgroundPattern " ) {
897897 styleValue. setImage (
898- bridge: bridge! ,
898+ bridge: bridge,
899899 style: style,
900900 oldValue: oldReactStyle ? [ prop] ,
901901 setImageOnLayer: { ( _) in self . setBackgroundPattern ( & layer, styleValue: styleValue) } ,
0 commit comments