Skip to content

Commit 0312896

Browse files
committed
feat: disable assign button to self send
1 parent 5c46459 commit 0312896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/activity/ActivityDetailScreen.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ private fun ActivityDetailContent(
411411
text = stringResource(R.string.wallet__activity_assign),
412412
size = ButtonSize.Small,
413413
onClick = { /* TODO: Implement assign functionality */ },
414+
enabled = !isSelfSend,
414415
icon = {
415416
Icon(
416417
painter = painterResource(R.drawable.ic_user_plus),

0 commit comments

Comments
 (0)