increased button touch areas and improved soft keyboard touch handling (#335)
This commit is contained in:
parent
b600cbdc34
commit
f034b313b3
7 changed files with 13 additions and 7 deletions
|
@ -3,6 +3,8 @@ dist: xenial
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- '3.6'
|
- '3.6'
|
||||||
|
jdk:
|
||||||
|
- oraclejdk8
|
||||||
install:
|
install:
|
||||||
- deactivate
|
- deactivate
|
||||||
- export PATH=/usr/bin:$PATH
|
- export PATH=/usr/bin:$PATH
|
||||||
|
|
|
@ -20,7 +20,7 @@ class FloatingWalletBalance extends React.PureComponent<Props> {
|
||||||
onPress={() => navigation && navigation.navigate({ routeName: 'WalletStack' })}>
|
onPress={() => navigation && navigation.navigate({ routeName: 'WalletStack' })}>
|
||||||
{isNaN(balance) && <ActivityIndicator size="small" color={Colors.White} />}
|
{isNaN(balance) && <ActivityIndicator size="small" color={Colors.White} />}
|
||||||
<Text style={floatingButtonStyle.text}>
|
<Text style={floatingButtonStyle.text}>
|
||||||
{(balance || balance === 0) && (formatCredits(balance, 2) + ' LBC')}
|
{(balance || balance === 0) && (formatCredits(parseFloat(balance), 2) + ' LBC')}
|
||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
);
|
);
|
||||||
|
|
|
@ -19,7 +19,7 @@ class WalletBalance extends React.PureComponent<Props> {
|
||||||
<Text style={walletStyle.balanceTitle}>Balance</Text>
|
<Text style={walletStyle.balanceTitle}>Balance</Text>
|
||||||
<Text style={walletStyle.balanceCaption}>You currently have</Text>
|
<Text style={walletStyle.balanceCaption}>You currently have</Text>
|
||||||
<Text style={walletStyle.balance}>
|
<Text style={walletStyle.balance}>
|
||||||
{(balance || balance === 0) && (formatCredits(balance, 2) + ' LBC')}
|
{(balance || balance === 0) && (formatCredits(parseFloat(balance), 2) + ' LBC')}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|
|
@ -142,7 +142,10 @@ class RewardsPage extends React.PureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={rewardStyle.container}>
|
<View style={rewardStyle.container}>
|
||||||
<ScrollView style={rewardStyle.scrollContainer} contentContainerStyle={rewardStyle.scrollContentContainer}>
|
<ScrollView
|
||||||
|
keyboardShouldPersistTaps={'handled'}
|
||||||
|
style={rewardStyle.scrollContainer}
|
||||||
|
contentContainerStyle={rewardStyle.scrollContentContainer}>
|
||||||
{this.renderVerification()}
|
{this.renderVerification()}
|
||||||
{this.renderUnclaimedRewards()}
|
{this.renderUnclaimedRewards()}
|
||||||
{this.renderClaimedRewards()}
|
{this.renderClaimedRewards()}
|
||||||
|
|
|
@ -27,7 +27,7 @@ class WalletPage extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ScrollView>
|
<ScrollView keyboardShouldPersistTaps={'handled'}>
|
||||||
<WalletBalance />
|
<WalletBalance />
|
||||||
<WalletAddress />
|
<WalletAddress />
|
||||||
<WalletSend />
|
<WalletSend />
|
||||||
|
|
|
@ -65,8 +65,9 @@ const firstRunStyle = StyleSheet.create({
|
||||||
},
|
},
|
||||||
button: {
|
button: {
|
||||||
alignSelf: 'flex-end',
|
alignSelf: 'flex-end',
|
||||||
marginLeft: 32,
|
padding: 20,
|
||||||
marginRight: 32
|
paddingLeft: 32,
|
||||||
|
paddingRight: 32
|
||||||
},
|
},
|
||||||
buttonText: {
|
buttonText: {
|
||||||
fontFamily: 'Metropolis-Regular',
|
fontFamily: 'Metropolis-Regular',
|
||||||
|
|
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
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
|
||||||
|
|
Loading…
Reference in a new issue