Skip to content

Commit 03f27fe

Browse files
authored
Merge pull request #547 from synonymdev/fix/ln-swipe-color
fix: set swipe color according payment method
2 parents 714e83b + 15d3e69 commit 03f27fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ fun ContentRunning(
289289

290290
SwipeToConfirm(
291291
text = stringResource(R.string.wallet__send_swipe),
292+
color = when (uiState.payMethod) {
293+
SendMethod.ONCHAIN -> Colors.Brand
294+
SendMethod.LIGHTNING -> Colors.Purple
295+
},
292296
loading = isLoading,
293297
confirmed = isLoading,
294298
onConfirm = onSwipeToConfirm,

0 commit comments

Comments
 (0)