From d8f7b431c94355e07facc65c84fe33b251112b18 Mon Sep 17 00:00:00 2001 From: Dmitry Gladkov Date: Tue, 27 Dec 2016 13:29:20 +0200 Subject: [PATCH] Fix coordinates for Android, bump version to 1.6.2 --- index.android.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.android.js b/index.android.js index 2a40bc1..6a70c62 100644 --- a/index.android.js +++ b/index.android.js @@ -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; }; diff --git a/package.json b/package.json index 418f17d..166727d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-linear-gradient", - "version": "1.6.1", + "version": "1.6.2", "description": "A element for react-native", "main": "index", "author": {