File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/src/main/java/to/bitkit/ui/screens/wallets/activity Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -601,17 +601,20 @@ private fun ActivityDetailContent(
601601 is Activity .Lightning -> false
602602 is Activity .Onchain -> {
603603 val activity = item.v1
604+ val isActivityEvicted = ! activity.doesExist
605+
604606 if (activity.isBoosted && activity.boostTxIds.isNotEmpty()) {
605607 val hasCPFP = activity.boostTxIds.any { boostTxDoesExist[it] == true }
606608 if (hasCPFP) {
607609 true
608610 } else if (activity.txType == PaymentType .SENT ) {
609611 val isAnyBoostTxEvicted = activity.boostTxIds.any { boostTxDoesExist[it] == false }
610- val isActivityEvicted = ! activity.doesExist
611- isAnyBoostTxEvicted || isActivityEvicted
612+ isAnyBoostTxEvicted
612613 } else {
613614 false
614615 }
616+ } else if (activity.isBoosted && isActivityEvicted) {
617+ true
615618 } else {
616619 false
617620 }
You can’t perform that action at this time.
0 commit comments