Updated on 2026-08-14
This commit is contained in:
parent
37a224169c
commit
585a213d98
2 changed files with 1 additions and 8 deletions
|
|
@ -104,13 +104,6 @@ fun SimpleTextField(
|
|||
}
|
||||
}
|
||||
|
||||
// private fun TextRange.getValueRange(oldValue: String, newValue: String) = when {
|
||||
// newValue.isEmpty() -> TextRange.Zero
|
||||
// newValue.length - oldValue.length > 1 -> TextRange(newValue.length, newValue.length)
|
||||
// newValue.length - oldValue.length > 0 -> TextRange(this.start.inc(), this.end.inc())
|
||||
// else -> this
|
||||
// }
|
||||
|
||||
@Composable
|
||||
private fun SimpleTextPlaceholder(
|
||||
placeholder: TextReference?,
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ internal class SendAmountFieldConverter(
|
|||
cryptoAmount = cryptoAmount,
|
||||
fiatAmount = getAppCurrencyAmount(fiatDecimal, appCurrencyProvider()),
|
||||
isError = false,
|
||||
error = TextReference.Res(R.string.swapping_insufficient_funds),
|
||||
error = TextReference.Res(R.string.send_validation_amount_exceeds_balance),
|
||||
isFiatUnavailable = fiatRate == null,
|
||||
isValuePasted = false,
|
||||
onValuePastedTriggerDismiss = clickIntents::onAmountPasteTriggerDismiss,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue