Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/LightningChannel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const LightningChannel = ({
</View>
)}
<View style={styles.amounts}>
<View style={styles.amount}>
<View testID="LightningChannelSpending" style={styles.amount}>
<UpArrow color={spendingAvailableColor} width={14} height={14} />
<Money
sats={localBalance}
Expand All @@ -70,7 +70,7 @@ const LightningChannel = ({
unit={EUnit.BTC}
/>
</View>
<View style={styles.amount}>
<View testID="LightningChannelReceiving" style={styles.amount}>
<DownArrow color={receivingAvailableColor} width={14} height={14} />
<Money
sats={remoteBalance}
Expand Down
8 changes: 4 additions & 4 deletions src/screens/Transfer/SpendingConfirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,27 +100,27 @@ const SpendingConfirm = ({

<View style={styles.fees}>
<View style={styles.feesRow}>
<View style={styles.feeItem}>
<View testID="SpendingConfirmNetworkFee" style={styles.feeItem}>
<Caption13Up style={styles.feeItemLabel} color="secondary">
{t('spending_confirm.network_fee')}
</Caption13Up>
<Money sats={transactionFee} size="bodySSB" symbol={true} />
</View>
<View style={styles.feeItem}>
<View testID="SpendingConfirmLspFee" style={styles.feeItem}>
<Caption13Up style={styles.feeItemLabel} color="secondary">
{t('spending_confirm.lsp_fee')}
</Caption13Up>
<Money sats={lspFee} size="bodySSB" symbol={true} />
</View>
</View>
<View style={styles.feesRow}>
<View style={styles.feeItem}>
<View testID="SpendingConfirmAmount" style={styles.feeItem}>
<Caption13Up style={styles.feeItemLabel} color="secondary">
{t('spending_confirm.amount')}
</Caption13Up>
<Money sats={clientBalance} size="bodySSB" symbol={true} />
</View>
<View style={styles.feeItem}>
<View testID="SpendingConfirmTotal" style={styles.feeItem}>
<Caption13Up style={styles.feeItemLabel} color="secondary">
{t('spending_confirm.total')}
</Caption13Up>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Wallets/Receive/ReceiveQR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ const ReceiveQR = ({
color="purple"
isEnabled={enableInstant}
onPress={onToggleInstant}
testID="ReceiveInstantSwitch">
testID="ReceiveInstantlySwitch">
{!enableInstant && <ArrowLNFunds color="secondary" />}
<BodyM>{t('receive_spending')}</BodyM>
</SwitchRow>
Expand Down
Loading