Skip to content

Commit

Permalink
fix(transfer): update liquidity explanation copy
Browse files Browse the repository at this point in the history
  • Loading branch information
pwltr committed Nov 8, 2024
1 parent aefd83c commit 0c54f3a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/screens/Transfer/Liquidity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const Liquidity = ({
<BodyM style={styles.description} color="secondary">
{t('liquidity.text')}
</BodyM>

<BodyMB style={styles.label}>{t('liquidity.label')}</BodyMB>
<LightningChannel
capacity={channelSize}
Expand Down Expand Up @@ -79,12 +80,12 @@ const styles = StyleSheet.create({
marginTop: 4,
},
label: {
marginTop: 32,
marginTop: 'auto',
marginBottom: 16,
},
buttonContainer: {
flexDirection: 'row',
marginTop: 'auto',
marginTop: 32,
},
button: {
flex: 1,
Expand Down
4 changes: 2 additions & 2 deletions src/screens/Wallets/Receive/Liquidity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ const styles = StyleSheet.create({
paddingHorizontal: 16,
},
label: {
marginTop: 48,
marginTop: 'auto',
marginBottom: 16,
},
buttonContainer: {
flexDirection: 'row',
justifyContent: 'center',
marginTop: 'auto',
gap: 16,
marginTop: 32,
},
button: {
flex: 1,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/i18n/locales/en/lightning.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"string": "Liquidity\n<accent>& routing</accent>"
},
"text": {
"string": "Your spending balance in Bitkit is like your internet connection. Instead of bandwidth, you pay for liquidity and payment routing.\n\nPayments to and from your spending balance are cheaper, faster, and more private than regular Bitcoin transactions.\n\nThe network fee and service provider fee are one-time costs to set up your balance."
"string": "Your Spending Balance uses the Lightning Network to make your payments cheaper, faster, and more private.\n\nThis works like internet access, but you pay for liquidity & routing instead of bandwidth.\n\nThis setup includes some one-time costs."
},
"label": {
"string": "Spending Balance Liquidity"
Expand Down
4 changes: 2 additions & 2 deletions src/utils/i18n/locales/en/wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@
"string": "Increase Receiving Capacity"
},
"text": {
"string": "Your spending balance in Bitkit is like your internet connection. Instead of bandwidth, you pay for liquidity and payment routing.\n\nPayments from your spending balance are cheaper, faster, and more private than regular Bitcoin transactions.\n\nThe network fee and service provider fee are one-time costs to set up your balance."
"string": "Your Spending Balance uses the Lightning Network to make your payments cheaper, faster, and more private.\n\nThis works like internet access, but you pay for liquidity & routing instead of bandwidth.\n\nThis setup includes some one-time costs."
},
"text_additional": {
"string": "Your spending balance in Bitkit is like your internet connection. Instead of bandwidth, you pay for liquidity and payment routing.\n\nPayments from your spending balance are cheaper, faster, and more private than regular Bitcoin transactions.\n\nBitkit needs to increase the receiving capacity of your spending balance to process this payment."
"string": "Your Spending Balance uses the Lightning Network to make your payments cheaper, faster, and more private.\n\nThis works like internet access, but you pay for liquidity & routing instead of bandwidth.\n\nBitkit needs to increase the receiving capacity of your spending balance to process this payment."
},
"label": {
"string": "Spending Balance Liquidity"
Expand Down

0 comments on commit 0c54f3a

Please sign in to comment.