mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
PM-9901: Use sensitive text font for passwords (#3952)
This commit is contained in:
parent
05d6c2f61e
commit
f68b4df9f9
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue