diff --git a/ui-lib/src/main/java/co/electriccoin/zcash/ui/fixture/ObserveFiatCurrencyResultFixture.kt b/ui-lib/src/main/java/co/electriccoin/zcash/ui/fixture/ObserveFiatCurrencyResultFixture.kt index 9ac9a2cd..2c0dd1dc 100644 --- a/ui-lib/src/main/java/co/electriccoin/zcash/ui/fixture/ObserveFiatCurrencyResultFixture.kt +++ b/ui-lib/src/main/java/co/electriccoin/zcash/ui/fixture/ObserveFiatCurrencyResultFixture.kt @@ -8,10 +8,11 @@ object ObserveFiatCurrencyResultFixture { const val IS_LOADING: Boolean = true const val IS_STALE: Boolean = false const val IS_REFRESH_ENABLED: Boolean = false - val CURRENCY_CONVERSION: FiatCurrencyConversion = FiatCurrencyConversion( - timestamp = Clock.System.now(), - priceOfZec = 25.0 - ) + val CURRENCY_CONVERSION: FiatCurrencyConversion = + FiatCurrencyConversion( + timestamp = Clock.System.now(), + priceOfZec = 25.0 + ) fun new( isLoading: Boolean = IS_LOADING, diff --git a/ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/send/AndroidSend.kt b/ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/send/AndroidSend.kt index 9d7dcd40..d5376a72 100644 --- a/ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/send/AndroidSend.kt +++ b/ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/send/AndroidSend.kt @@ -162,7 +162,9 @@ internal fun WrapSend( if (amountState.value.isNotBlank() || amountState.fiatValue.isBlank()) { AmountState.newFromZec( context = context, - isTransparentOrTextRecipient = recipientAddressState.type?.let { it == AddressType.Transparent } ?: false, + isTransparentOrTextRecipient = + recipientAddressState.type + ?.let { it == AddressType.Transparent } ?: false, monetarySeparators = monetarySeparators, value = amountState.value, fiatValue = amountState.fiatValue, @@ -171,7 +173,9 @@ internal fun WrapSend( } else { AmountState.newFromFiat( context = context, - isTransparentOrTextRecipient = recipientAddressState.type?.let { it == AddressType.Transparent } ?: false, + isTransparentOrTextRecipient = + recipientAddressState.type + ?.let { it == AddressType.Transparent } ?: false, monetarySeparators = monetarySeparators, value = amountState.value, fiatValue = amountState.fiatValue,