We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cdf57e commit ea755eeCopy full SHA for ea755ee
1 file changed
apps/flipcash/features/tokens/src/main/kotlin/com/flipcash/app/tokens/internal/TokenBuySellEntryScreen.kt
@@ -57,12 +57,12 @@ internal fun BuySellTokenEntryScreen(
57
placeholder = "0",
58
hint = if (state.isError) {
59
when (state.purpose) {
60
- is TokenSwapPurpose.Buy -> stringResource(
+ is TokenSwapPurpose.BalanceIncrease -> stringResource(
61
R.string.subtitle_buyHintLimitExceeded,
62
state.maxAvailableToSwap
63
)
64
65
- is TokenSwapPurpose.Sell -> stringResource(
+ is TokenSwapPurpose.BalanceDecrease -> stringResource(
66
R.string.subtitle_sellHintLimitExceeded,
67
68
0 commit comments