File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
app/src/main/java/to/bitkit/viewmodels Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import androidx.compose.runtime.mutableStateOf
77import androidx.compose.runtime.setValue
88import androidx.lifecycle.ViewModel
99import androidx.lifecycle.viewModelScope
10- import com.synonym.bitkitcore.Activity
1110import com.synonym.bitkitcore.ActivityFilter
1211import com.synonym.bitkitcore.FeeRates
1312import com.synonym.bitkitcore.LightningInvoice
@@ -993,7 +992,7 @@ class AppViewModel @Inject constructor(
993992 type = NewTransactionSheetType .LIGHTNING ,
994993 direction = NewTransactionSheetDirection .SENT ,
995994 paymentHashOrTxId = paymentHash,
996- sats = paymentAmount.toLong(), // TODO Add fee when available
995+ sats = paymentAmount.toLong(), // TODO Add fee when available
997996 ),
998997 )
999998 }.onFailure { e ->
@@ -1465,7 +1464,6 @@ class AppViewModel @Inject constructor(
14651464 }
14661465
14671466 private fun handlePaymentSuccess (details : NewTransactionSheetDetails ) {
1468-
14691467 details.paymentHashOrTxId?.let {
14701468 if (! processedPayments.add(it)) {
14711469 Logger .debug(" Payment $it already processed, skipping duplicate" , context = TAG )
You can’t perform that action at this time.
0 commit comments