Skip to content

Commit 95daa1b

Browse files
committed
refactor: remove unnecessary if
1 parent c7c209a commit 95daa1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/send/SendAndReviewScreen.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ private fun OnChainDescription(
119119
) {
120120
Column(modifier = Modifier.fillMaxWidth()) {
121121
Caption13Up(
122-
text = stringResource(
123-
if (uiState.payMethod == SendMethod.ONCHAIN) R.string.wallet__send_to else R.string.wallet__send_invoice
124-
),
122+
text = stringResource(R.string.wallet__send_to),
125123
color = Colors.White64,
126124
)
127125
val destination = uiState.address.ellipsisMiddle(25)

0 commit comments

Comments
 (0)