mirror of
https://github.com/status-im/react-native-linear-gradient.git
synced 2026-08-30 22:01:13 +00:00
Fix regression introduced in 1.5.8
This commit is contained in:
@@ -34,7 +34,9 @@ public class LinearGradientManager extends SimpleViewManager<LinearGradientView>
|
||||
|
||||
@ReactProp(name=PROP_LOCATIONS)
|
||||
public void setLocations(LinearGradientView gradientView, ReadableArray locations) {
|
||||
gradientView.setLocations(locations);
|
||||
if (locations != null) {
|
||||
gradientView.setLocations(locations);
|
||||
}
|
||||
}
|
||||
|
||||
@ReactProp(name=PROP_START_POS)
|
||||
|
||||
Reference in New Issue
Block a user