Skip to content

Commit 8612bea

Browse files
committed
fix: add comment
1 parent 6a3a576 commit 8612bea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/src/main/java/to/bitkit/models/BalanceState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import kotlinx.serialization.Serializable
66
data class BalanceState(
77
val totalOnchainSats: ULong = 0uL,
88
val totalLightningSats: ULong = 0uL,
9-
val maxSendLightningSats: ULong = 0uL,
9+
val maxSendLightningSats: ULong = 0uL, // Without account routing fees
1010
val maxSendOnchainSats: ULong = 0uL,
1111
val balanceInTransferToSavings: ULong = 0uL,
1212
val balanceInTransferToSpending: ULong = 0uL,

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ class AppViewModel @Inject constructor(
475475
SendEvent.EstimateMaxRoutingFee -> viewModelScope.launch {
476476
estimateMaxAmountRoutingFee()
477477
}
478+
478479
SendEvent.PayConfirmed -> onConfirmPay()
479480
SendEvent.ClearPayConfirmation -> _sendUiState.update { s -> s.copy(shouldConfirmPay = false) }
480481
SendEvent.BackToAmount -> setSendEffect(SendEffect.PopBack(SendRoute.Amount))

0 commit comments

Comments
 (0)