Skip to content

Commit 27a927b

Browse files
committed
chore: lint
1 parent 5e44b5d commit 27a927b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import androidx.compose.runtime.mutableStateOf
77
import androidx.compose.runtime.setValue
88
import androidx.lifecycle.ViewModel
99
import androidx.lifecycle.viewModelScope
10-
import com.synonym.bitkitcore.Activity
1110
import com.synonym.bitkitcore.ActivityFilter
1211
import com.synonym.bitkitcore.FeeRates
1312
import 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)

0 commit comments

Comments
 (0)