From 674c6057c7d0f2b6f44461454a81bfbef7d60056 Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 10 Apr 2017 15:35:55 +0300 Subject: [PATCH 1/2] Update AppIntro.js Button can be pressed on android https://github.com/FuYaoDe/react-native-app-intro/issues/58 --- AppIntro.js | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/AppIntro.js b/AppIntro.js index 52b42d9..74f7ea4 100644 --- a/AppIntro.js +++ b/AppIntro.js @@ -309,27 +309,8 @@ export default class AppIntro extends Component { if (pageArray.length > 0) { pages = pageArray.map((page, i) => this.renderBasicSlidePage(i, page)); } else { - if (Platform.OS === 'ios') { - pages = childrens.map((children, i) => this.renderChild(children, i, i)); - } else { - androidPages = childrens.map((children, i) => { - const { transform } = this.getTransform(i, -windowsWidth / 3 * 2, 1); - pages.push(); - return ( - - {this.renderChild(children, i, i)} - - ); - }); - } + #https://github.com/FuYaoDe/react-native-app-intro/issues/58 + pages = childrens.map((children, i) => this.renderChild(children, i, i)); } if (this.isToTintStatusBar()) { From 1386196bb5863fb1e20ce232a11829cac3801a93 Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 10 Apr 2017 15:39:59 +0300 Subject: [PATCH 2/2] Fixed syntax --- AppIntro.js | 1 - 1 file changed, 1 deletion(-) diff --git a/AppIntro.js b/AppIntro.js index 74f7ea4..1f07bac 100644 --- a/AppIntro.js +++ b/AppIntro.js @@ -309,7 +309,6 @@ export default class AppIntro extends Component { if (pageArray.length > 0) { pages = pageArray.map((page, i) => this.renderBasicSlidePage(i, page)); } else { - #https://github.com/FuYaoDe/react-native-app-intro/issues/58 pages = childrens.map((children, i) => this.renderChild(children, i, i)); }