Skip to content

Commit

Permalink
PM-9901: Use sensitive text font for passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
david-livefront committed Sep 20, 2024
1 parent 8fe637d commit 2dabf90
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import com.x8bit.bitwarden.R
import com.x8bit.bitwarden.ui.platform.base.util.tabNavigation
import com.x8bit.bitwarden.ui.platform.components.util.nonLetterColorVisualTransformation
import com.x8bit.bitwarden.ui.platform.components.util.rememberVectorPainter
import com.x8bit.bitwarden.ui.platform.theme.LocalNonMaterialTypography

/**
* Represents a Bitwarden-styled password field that hoists show/hide password state to the caller.
Expand Down Expand Up @@ -77,7 +78,7 @@ fun BitwardenPasswordField(
modifier = modifier
.tabNavigation()
.focusRequester(focusRequester),
textStyle = MaterialTheme.typography.bodyLarge,
textStyle = LocalNonMaterialTypography.current.sensitiveInfoSmall,
label = { Text(text = label) },
value = value,
onValueChange = onValueChange,
Expand Down

0 comments on commit 2dabf90

Please sign in to comment.