fix: resolve ktlint errors in bridge feature module

This commit is contained in:
2026-01-23 15:15:43 +03:00
parent 71ca24cbdb
commit f8311dfe4b
2 changed files with 8 additions and 7 deletions
@@ -3,8 +3,8 @@ package io.novafoundation.nova.feature_bridge_api.domain.model
import java.math.BigDecimal import java.math.BigDecimal
enum class BridgeTransactionType { enum class BridgeTransactionType {
DEPOSIT, // Polkadot USDT -> Pezkuwi wUSDT DEPOSIT, // Polkadot USDT -> Pezkuwi wUSDT
WITHDRAW // Pezkuwi wUSDT -> Polkadot USDT WITHDRAW // Pezkuwi wUSDT -> Polkadot USDT
} }
enum class BridgeTransactionStatus { enum class BridgeTransactionStatus {
@@ -89,11 +89,12 @@ class BridgeDepositFragment : Fragment() {
for (x in 0 until width) { for (x in 0 until width) {
for (y in 0 until height) { for (y in 0 until height) {
bitmap.setPixel( val color = if (bitMatrix.get(x, y)) {
x, y, android.graphics.Color.BLACK
if (bitMatrix.get(x, y)) android.graphics.Color.BLACK } else {
else android.graphics.Color.WHITE android.graphics.Color.WHITE
) }
bitmap.setPixel(x, y, color)
} }
} }