diff --git a/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt b/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt index 566a2a86..69a77dc4 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt @@ -22,7 +22,7 @@ class CurrencyAdapter { @Suppress("UNUSED", "UNUSED_PARAMETER") @ToJson fun toJson(card: CurrencyUnitResponse): String? = null - @Suppress("UNCHECKED_CAST") + @Suppress("UNUSED", "UNCHECKED_CAST") @FromJson fun fromJson(response: Map): CurrencyUnitResponse { val pairsBD: Map = (response[response.keys.elementAt(1)] as Map) .mapValues { it.value.toBigDecimal() }