Fix coordinates for Android, bump version to 1.6.2
This commit is contained in:
parent
409d45b54d
commit
d8f7b431c9
|
@ -12,7 +12,7 @@ const convertPoint = (name, point) => {
|
|||
);
|
||||
}
|
||||
if (point !== null && typeof point === 'object') {
|
||||
return Object.values(point);
|
||||
return [point.x, point.y];
|
||||
}
|
||||
return point;
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "react-native-linear-gradient",
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.2",
|
||||
"description": "A <LinearGradient> element for react-native",
|
||||
"main": "index",
|
||||
"author": {
|
||||
|
|
Loading…
Reference in New Issue