Skip to content

Commit

Permalink
Merge branch 'release/5.4.8' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rafakob committed Oct 9, 2024
2 parents a789910 + 1f41115 commit 2725d5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ android {

defaultConfig {
applicationId = "com.twofasapp"
versionName = "5.4.7"
versionCode = 5000028
versionName = "5.4.8"
versionCode = 5000029
}

applicationVariants.all {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.text.TextRange
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.input.KeyboardCapitalization
import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.text.input.PasswordVisualTransformation
import androidx.compose.ui.text.input.TextFieldValue
import androidx.compose.ui.text.input.VisualTransformation
Expand Down Expand Up @@ -146,7 +148,11 @@ fun TwOutlinedTextFieldPassword(
labelText = labelText,
supportingText = supportingText,
isError = isError,
keyboardOptions = keyboardOptions,
keyboardOptions = keyboardOptions.copy(
keyboardType = KeyboardType.Password,
capitalization = KeyboardCapitalization.None,
autoCorrect = false
),
keyboardActions = keyboardActions,
singleLine = singleLine,
maxLines = maxLines,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ internal fun EditServiceScreen(
onValueChange = {},
keyboardOptions = KeyboardOptions.Default.copy(
keyboardType = KeyboardType.Password,
capitalization = KeyboardCapitalization.None
capitalization = KeyboardCapitalization.None,
autoCorrect = false
),
visualTransformation = if (isSecretVisible) VisualTransformation.None else PasswordVisualTransformation(),
trailingIcon = {
Expand Down

0 comments on commit 2725d5f

Please sign in to comment.