|
@@ -50,7 +50,6 @@ import androidx.compose.ui.text.style.TextAlign
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
import androidx.compose.ui.unit.sp
|
|
|
import com.fastest.pass.R
|
|
|
-import com.fastest.pass.login.presentation.components.ClickType
|
|
|
|
|
|
enum class ClickTypeForgotConfirm {
|
|
|
GO_BACK,
|
|
@@ -182,7 +181,7 @@ fun ColumnScope.PasswordTextFieldFPC(
|
|
|
onValueChange = {
|
|
|
passwordText = it
|
|
|
},
|
|
|
- textStyle = MaterialTheme.typography.displaySmall,
|
|
|
+ textStyle = MaterialTheme.typography.displayMedium,
|
|
|
modifier = Modifier
|
|
|
.padding(start = 30.dp, end = 30.dp)
|
|
|
.align(Alignment.Start)
|
|
@@ -196,8 +195,11 @@ fun ColumnScope.PasswordTextFieldFPC(
|
|
|
.background(color = colorResource(id = R.color.transparent)),
|
|
|
shape = RoundedCornerShape(16.dp),
|
|
|
placeholder = {
|
|
|
- Text(text = stringResource(id = R.string.enter_new_password),
|
|
|
- color = colorResource(id = R.color.gray_splash))
|
|
|
+ Text(
|
|
|
+ text = stringResource(id = R.string.enter_new_password),
|
|
|
+ color = colorResource(id = R.color.gray_splash),
|
|
|
+ style = MaterialTheme.typography.displayMedium,
|
|
|
+ )
|
|
|
},
|
|
|
// label = {
|
|
|
// Text(text = context.getString(R.string.password),
|
|
@@ -272,7 +274,7 @@ fun ColumnScope.PasswordConfirmTextFieldFPC(
|
|
|
onValueChange = {
|
|
|
passwordText = it
|
|
|
},
|
|
|
- textStyle = MaterialTheme.typography.displaySmall,
|
|
|
+ textStyle = MaterialTheme.typography.displayMedium,
|
|
|
modifier = Modifier
|
|
|
.padding(start = 30.dp, end = 30.dp)
|
|
|
.align(Alignment.Start)
|
|
@@ -286,8 +288,11 @@ fun ColumnScope.PasswordConfirmTextFieldFPC(
|
|
|
.background(color = colorResource(id = R.color.transparent)),
|
|
|
shape = RoundedCornerShape(16.dp),
|
|
|
placeholder = {
|
|
|
- Text(text = stringResource(id = R.string.confirm_new_password),
|
|
|
- color = colorResource(id = R.color.gray_splash))
|
|
|
+ Text(
|
|
|
+ text = stringResource(id = R.string.confirm_new_password),
|
|
|
+ color = colorResource(id = R.color.gray_splash),
|
|
|
+ style = MaterialTheme.typography.displayMedium,
|
|
|
+ )
|
|
|
},
|
|
|
// label = {
|
|
|
// Text(text = context.getString(R.string.password),
|