diff options
Diffstat (limited to 'wallet/src/main/java/net/taler/wallet/peer/OutgoingPullIntroComposable.kt')
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/peer/OutgoingPullIntroComposable.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullIntroComposable.kt b/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullIntroComposable.kt index e66d628..9af3f5d 100644 --- a/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullIntroComposable.kt +++ b/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullIntroComposable.kt @@ -74,7 +74,7 @@ fun OutgoingPullIntroComposable( singleLine = true, value = subject, onValueChange = { input -> - if (input.length <= 100) + if (input.length <= MAX_LENGTH_SUBJECT) subject = input }, isError = subject.isBlank(), @@ -95,7 +95,7 @@ fun OutgoingPullIntroComposable( .fillMaxWidth() .padding(top = 5.dp, end = 16.dp), color = if (subject.isBlank()) colorResource(R.color.red) else Color.Unspecified, - text = stringResource(R.string.char_count, subject.length, 100), + text = stringResource(R.string.char_count, subject.length, MAX_LENGTH_SUBJECT), textAlign = TextAlign.End, ) Text( |