Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 4577d9c

Browse files
committed
Make only balance number toggle fiat/btc on touch
1 parent 0534437 commit 4577d9c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/view/home.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const balanceStyles = StyleSheet.create({
9393
wrapper: {
9494
flex: 1,
9595
justifyContent: 'center',
96+
alignItems: 'center',
9697
},
9798
percentWrapper: {
9899
flexDirection: 'row',
@@ -118,11 +119,11 @@ const BalanceDisplay = ({
118119
<BalanceLabelNumeral>{totalBalanceLabel}</BalanceLabelNumeral>
119120
<BalanceLabelUnit>{unitLabel}</BalanceLabelUnit>
120121
</BalanceLabel>
121-
<View style={balanceStyles.percentWrapper}>
122-
<Alert type={channelStatus} style={balanceStyles.alert} />
123-
<H4Text>{channelPercentageLabel}</H4Text>
124-
</View>
125122
</Button>
123+
<View style={balanceStyles.percentWrapper}>
124+
<Alert type={channelStatus} style={balanceStyles.alert} />
125+
<H4Text>{channelPercentageLabel}</H4Text>
126+
</View>
126127
</View>
127128
);
128129

0 commit comments

Comments
 (0)