Skip to content

Commit d86188c

Browse files
committed
fix: remove unused parameter
1 parent 2402c21 commit d86188c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ class AppViewModel @Inject constructor(
244244
paymentHashOrTxId = event.paymentHash,
245245
sats = ((event.feePaidMsat ?: 0u) / 1000u).toLong(),
246246
),
247-
event = event
248247
)
249248
}
250249

@@ -1427,7 +1426,7 @@ class AppViewModel @Inject constructor(
14271426
}
14281427
}
14291428

1430-
private fun handlePaymentSuccess(details: NewTransactionSheetDetails, event: Event? = null) {
1429+
private fun handlePaymentSuccess(details: NewTransactionSheetDetails) {
14311430
_successSendUiState.update { details }
14321431
setSendEffect(SendEffect.PaymentSuccess(details))
14331432
}

0 commit comments

Comments
 (0)