Skip to content

Commit

Permalink
dont have account layout fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammedYakub committed Mar 13, 2021
1 parent 6311965 commit e38804a
Showing 1 changed file with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ fun LoginScreen1(value: AppThemeState, onLoginSuccess: () -> Unit) {
horizontalAlignment = Alignment.CenterHorizontally,

) {


item {
Text(
text = LocalContext.current.getString(R.string.login).toUpperCase(),
Expand Down Expand Up @@ -144,10 +142,7 @@ fun LoginScreen1(value: AppThemeState, onLoginSuccess: () -> Unit) {
),

textStyle = MaterialTheme.typography.body1,
colors = TextFieldDefaults.textFieldColors(
textColor = MaterialTheme.colors.primary,
backgroundColor = MaterialTheme.colors.onPrimary
),
colors = TextFieldDefaults.textFieldColors(textColor = MaterialTheme.colors.primary),
)
}
item { Spacer(modifier = Modifier.height(8.dp)) }
Expand Down Expand Up @@ -177,10 +172,7 @@ fun LoginScreen1(value: AppThemeState, onLoginSuccess: () -> Unit) {
),

textStyle = MaterialTheme.typography.body1,
colors = TextFieldDefaults.textFieldColors(
textColor = MaterialTheme.colors.primary,
backgroundColor = MaterialTheme.colors.onPrimary
),
colors = TextFieldDefaults.textFieldColors(textColor = MaterialTheme.colors.primary),
)
}
item { Spacer(modifier = Modifier.height(8.dp)) }
Expand Down Expand Up @@ -212,13 +204,15 @@ fun LoginScreen1(value: AppThemeState, onLoginSuccess: () -> Unit) {
HorizontalDottedProgressBar()
} else {
Text(
text = LocalContext.current.getString(R.string.login)
text = LocalContext.current.getString(R.string.signup)
.toUpperCase(),
textAlign = TextAlign.Center,
style = MaterialTheme.typography.button,
modifier = Modifier.fillMaxWidth()
)
}


}
}

Expand All @@ -238,7 +232,6 @@ fun LoginScreen1(value: AppThemeState, onLoginSuccess: () -> Unit) {
text = annotatedString.toAnnotatedString(),
modifier = Modifier
.fillMaxWidth()
.height(32.dp)
.padding(vertical = 16.dp)
.clickable(onClick = {}),
textAlign = TextAlign.Center,
Expand Down

0 comments on commit e38804a

Please sign in to comment.