Skip to content

Commit

Permalink
Merge pull request #181 from fmasa/helper-text-fix
Browse files Browse the repository at this point in the history
Fix visibility of helper text
  • Loading branch information
fmasa authored Sep 6, 2023
2 parents 5226e46 + de31145 commit 94425c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private fun TextInput(
}
}

if (showCharacterCount || helperText.isNullOrBlank()) {
if (showCharacterCount || !helperText.isNullOrBlank()) {
CompositionLocalProvider(LocalContentAlpha provides ContentAlpha.medium) {
Row {
if (!helperText.isNullOrBlank()) {
Expand Down

0 comments on commit 94425c5

Please sign in to comment.