Skip to content

Commit

Permalink
Release v1.5.1 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelianClerc authored Mar 8, 2023
2 parents 8a833c9 + 51e151e commit 1fabab6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {

ext {
grapes_version = '1.5.0'
grapes_version = '1.5.1'

kotlin_version = '1.7.10'
firebase_app_distribution_version = '2.1.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fun PasswordTextInput(
helperText: String? = null,
enabled: Boolean = true,
isError: Boolean = false,
keyboardOptions: KeyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password),
keyboardActions: KeyboardActions = KeyboardActions.Default,
) {
var isPasswordVisible by rememberSaveable { mutableStateOf(false) }
Expand All @@ -55,7 +56,7 @@ fun PasswordTextInput(
enabled = enabled,
isError = isError,
keyboardActions = keyboardActions,
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password),
keyboardOptions = keyboardOptions,
visualTransformation = if (isPasswordVisible) VisualTransformation.None else PasswordVisualTransformation(),
trailingIcon = {
val icon = if (isPasswordVisible) Icons.Filled.VisibilityOff else Icons.Filled.Visibility
Expand Down

0 comments on commit 1fabab6

Please sign in to comment.