Skip to content

Commit caed7eb

Browse files
committed
chore: suppress lint
1 parent ebc8b2b commit caed7eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ class TransferViewModel @Inject constructor(
218218
}
219219
}
220220

221+
@Suppress("NestedBlockDepth")
221222
private suspend fun watchOrder(orderId: String, frequencyMs: Long = 2_500): Result<Boolean> {
222223
Logger.debug("Started watching order: '$orderId'", context = TAG)
223224

@@ -305,6 +306,7 @@ class TransferViewModel @Inject constructor(
305306
}
306307
}
307308

309+
@Suppress("ReturnCount")
308310
private suspend fun updateOrder(order: IBtOrder): Int {
309311
// Channel is open
310312
if (order.channel != null) {

0 commit comments

Comments
 (0)