Skip to content

Instantly share code, notes, and snippets.

@lbenevento
Created September 9, 2021 12:41
Show Gist options
  • Save lbenevento/11dd20cc3c78c89faafe5c6576d85592 to your computer and use it in GitHub Desktop.
Save lbenevento/11dd20cc3c78c89faafe5c6576d85592 to your computer and use it in GitHub Desktop.
androidx.compose.material.TextField(
// ...
trailingIcon = if (isError) errorIcon else trailingIcon,
// ...
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment