Fix coordinates for Android, bump version to 1.6.2

This commit is contained in:
Dmitry Gladkov 2016-12-27 13:29:20 +02:00
parent 409d45b54d
commit d8f7b431c9
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ const convertPoint = (name, point) => {
); );
} }
if (point !== null && typeof point === 'object') { if (point !== null && typeof point === 'object') {
return Object.values(point); return [point.x, point.y];
} }
return point; return point;
}; };

View File

@ -1,6 +1,6 @@
{ {
"name": "react-native-linear-gradient", "name": "react-native-linear-gradient",
"version": "1.6.1", "version": "1.6.2",
"description": "A <LinearGradient> element for react-native", "description": "A <LinearGradient> element for react-native",
"main": "index", "main": "index",
"author": { "author": {