Skip to content

Commit 1144d4d

Browse files
committed
fix: set hasCompletedBoost as true when booted activity is evicted
1 parent 46a9744 commit 1144d4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,9 @@ private fun ActivityDetailContent(
606606
if (hasCPFP) {
607607
true
608608
} else if (activity.txType == PaymentType.SENT) {
609-
activity.boostTxIds.any { boostTxDoesExist[it] == false }
609+
val anyBoostTxEvicted = activity.boostTxIds.any { boostTxDoesExist[it] == false }
610+
val thisActivityWasEvicted = !activity.doesExist
611+
anyBoostTxEvicted || thisActivityWasEvicted
610612
} else {
611613
false
612614
}

0 commit comments

Comments
 (0)