Skip to content

Commit 915ce65

Browse files
committed
chore: lint
1 parent 96f8799 commit 915ce65

7 files changed

Lines changed: 7 additions & 9 deletions

File tree

app/src/main/java/to/bitkit/domain/commands/NotifyPaymentReceivedHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import to.bitkit.models.NewTransactionSheetType
1717
import to.bitkit.models.NotificationDetails
1818
import to.bitkit.models.PrimaryDisplay
1919
import to.bitkit.models.formatToModernDisplay
20-
import to.bitkit.repositories.ActivityRepo
2120
import to.bitkit.models.msatCeilOf
21+
import to.bitkit.repositories.ActivityRepo
2222
import to.bitkit.repositories.CurrencyRepo
2323
import to.bitkit.utils.Logger
2424
import javax.inject.Inject

app/src/main/java/to/bitkit/fcm/WakeNodeWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import to.bitkit.ext.amountOnClose
2626
import to.bitkit.ext.toUserMessage
2727
import to.bitkit.models.BITCOIN_SYMBOL
2828
import to.bitkit.models.BlocktankNotificationType
29-
import to.bitkit.models.msatCeilOf
3029
import to.bitkit.models.BlocktankNotificationType.cjitPaymentArrived
3130
import to.bitkit.models.BlocktankNotificationType.incomingHtlc
3231
import to.bitkit.models.BlocktankNotificationType.mutualClose
@@ -36,6 +35,7 @@ import to.bitkit.models.NewTransactionSheetDetails
3635
import to.bitkit.models.NewTransactionSheetDirection
3736
import to.bitkit.models.NewTransactionSheetType
3837
import to.bitkit.models.NotificationDetails
38+
import to.bitkit.models.msatCeilOf
3939
import to.bitkit.repositories.ActivityRepo
4040
import to.bitkit.repositories.BlocktankRepo
4141
import to.bitkit.repositories.LightningRepo

app/src/main/java/to/bitkit/repositories/WalletRepo.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import to.bitkit.ext.toHex
3232
import to.bitkit.models.ALL_ADDRESS_TYPE_STRINGS
3333
import to.bitkit.models.AddressModel
3434
import to.bitkit.models.BalanceState
35-
import to.bitkit.models.msatFloorOf
3635
import to.bitkit.models.DEFAULT_ADDRESS_TYPE_STRING
36+
import to.bitkit.models.msatFloorOf
3737
import to.bitkit.models.toDerivationPath
3838
import to.bitkit.services.CoreService
3939
import to.bitkit.usecases.DeriveBalanceStateUseCase

app/src/main/java/to/bitkit/services/CoreService.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ import to.bitkit.data.CacheStore
7272
import to.bitkit.data.SettingsStore
7373
import to.bitkit.env.Env
7474
import to.bitkit.ext.amountSats
75-
import to.bitkit.models.msatFloorOf
7675
import to.bitkit.ext.channelId
7776
import to.bitkit.ext.create
7877
import to.bitkit.ext.latestSpendingTxid
7978
import to.bitkit.models.addressTypeFromAddress
79+
import to.bitkit.models.msatFloorOf
8080
import to.bitkit.models.toCoreNetwork
8181
import to.bitkit.utils.AppError
8282
import to.bitkit.utils.Logger
@@ -1334,8 +1334,6 @@ class ActivityService(
13341334

13351335
// Check if any input spends a closed channel's funding UTXO (commitment tx)
13361336
findChannelByFundingUtxo(details, closedChannelsList)
1337-
// Check if any input's parent transaction is a channel-related activity
1338-
// (e.g., sweep tx spending from commitment tx)
13391337
?: findChannelByParentActivity(details)
13401338
}.onFailure { e ->
13411339
Logger.warn("Failed to check if transaction $txid spends closed channel funding UTXO", e, context = TAG)

app/src/main/java/to/bitkit/ui/NodeInfoScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ import to.bitkit.ext.createChannelDetails
5050
import to.bitkit.ext.ellipsisMiddle
5151
import to.bitkit.ext.formatToString
5252
import to.bitkit.ext.uri
53-
import to.bitkit.models.msatFloorOf
5453
import to.bitkit.models.NodeLifecycleState
5554
import to.bitkit.models.NodePeer
5655
import to.bitkit.models.alias
5756
import to.bitkit.models.formatToModernDisplay
57+
import to.bitkit.models.msatFloorOf
5858
import to.bitkit.repositories.LightningState
5959
import to.bitkit.ui.components.BodyM
6060
import to.bitkit.ui.components.BodyMSB

app/src/main/java/to/bitkit/ui/settings/lightning/ChannelDetailScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ import to.bitkit.ext.DatePattern
6060
import to.bitkit.ext.amountOnClose
6161
import to.bitkit.ext.createChannelDetails
6262
import to.bitkit.ext.setClipboardText
63-
import to.bitkit.models.msatFloorOf
6463
import to.bitkit.models.Toast
64+
import to.bitkit.models.msatFloorOf
6565
import to.bitkit.ui.Routes
6666
import to.bitkit.ui.appViewModel
6767
import to.bitkit.ui.components.Caption13Up

app/src/main/java/to/bitkit/ui/settings/lightning/LightningConnectionsScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ import kotlinx.collections.immutable.toImmutableList
4747
import to.bitkit.R
4848
import to.bitkit.ext.amountOnClose
4949
import to.bitkit.ext.createChannelDetails
50-
import to.bitkit.models.msatFloorOf
5150
import to.bitkit.models.formatToModernDisplay
51+
import to.bitkit.models.msatFloorOf
5252
import to.bitkit.ui.Routes
5353
import to.bitkit.ui.components.BodyM
5454
import to.bitkit.ui.components.BodyMSB

0 commit comments

Comments
 (0)