From f034b313b3d9119d8c52548aa330f72310bac306 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Tue, 23 Oct 2018 15:52:44 +0100 Subject: [PATCH] increased button touch areas and improved soft keyboard touch handling (#335) --- .travis.yml | 2 ++ app/src/component/floatingWalletBalance/view.js | 2 +- app/src/component/walletBalance/view.js | 2 +- app/src/page/rewards/view.js | 5 ++++- app/src/page/wallet/view.js | 2 +- app/src/styles/firstRun.js | 5 +++-- .../lbry/build/gradle/wrapper/gradle-wrapper.properties | 2 +- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b7b450..62e3279 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ dist: xenial language: python python: - '3.6' +jdk: +- oraclejdk8 install: - deactivate - export PATH=/usr/bin:$PATH diff --git a/app/src/component/floatingWalletBalance/view.js b/app/src/component/floatingWalletBalance/view.js index 12f25fe..f48fb18 100644 --- a/app/src/component/floatingWalletBalance/view.js +++ b/app/src/component/floatingWalletBalance/view.js @@ -20,7 +20,7 @@ class FloatingWalletBalance extends React.PureComponent { onPress={() => navigation && navigation.navigate({ routeName: 'WalletStack' })}> {isNaN(balance) && } - {(balance || balance === 0) && (formatCredits(balance, 2) + ' LBC')} + {(balance || balance === 0) && (formatCredits(parseFloat(balance), 2) + ' LBC')} ); diff --git a/app/src/component/walletBalance/view.js b/app/src/component/walletBalance/view.js index 5ca0db9..ede0261 100644 --- a/app/src/component/walletBalance/view.js +++ b/app/src/component/walletBalance/view.js @@ -19,7 +19,7 @@ class WalletBalance extends React.PureComponent { Balance You currently have - {(balance || balance === 0) && (formatCredits(balance, 2) + ' LBC')} + {(balance || balance === 0) && (formatCredits(parseFloat(balance), 2) + ' LBC')} ); diff --git a/app/src/page/rewards/view.js b/app/src/page/rewards/view.js index 000f0ad..d57ff46 100644 --- a/app/src/page/rewards/view.js +++ b/app/src/page/rewards/view.js @@ -142,7 +142,10 @@ class RewardsPage extends React.PureComponent { return ( - + {this.renderVerification()} {this.renderUnclaimedRewards()} {this.renderClaimedRewards()} diff --git a/app/src/page/wallet/view.js b/app/src/page/wallet/view.js index 5fcb160..35462c2 100644 --- a/app/src/page/wallet/view.js +++ b/app/src/page/wallet/view.js @@ -27,7 +27,7 @@ class WalletPage extends React.PureComponent { } return ( - + diff --git a/app/src/styles/firstRun.js b/app/src/styles/firstRun.js index 562e226..5938e2e 100644 --- a/app/src/styles/firstRun.js +++ b/app/src/styles/firstRun.js @@ -65,8 +65,9 @@ const firstRunStyle = StyleSheet.create({ }, button: { alignSelf: 'flex-end', - marginLeft: 32, - marginRight: 32 + padding: 20, + paddingLeft: 32, + paddingRight: 32 }, buttonText: { fontFamily: 'Metropolis-Regular', diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/gradle/wrapper/gradle-wrapper.properties b/p4a/pythonforandroid/bootstraps/lbry/build/gradle/wrapper/gradle-wrapper.properties index ac1799f..8733ff3 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/gradle/wrapper/gradle-wrapper.properties +++ b/p4a/pythonforandroid/bootstraps/lbry/build/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip