log in 页面调整
This commit is contained in:
@@ -72,10 +72,8 @@ fun LoginPage() {
|
|||||||
val statusBarController = rememberSystemUiController()
|
val statusBarController = rememberSystemUiController()
|
||||||
LaunchedEffect(Unit) {
|
LaunchedEffect(Unit) {
|
||||||
statusBarController.setStatusBarColor(Color.Transparent, darkIcons = true)
|
statusBarController.setStatusBarColor(Color.Transparent, darkIcons = true)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fun googleLogin() {
|
fun googleLogin() {
|
||||||
coroutineScope.launch {
|
coroutineScope.launch {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ fun UserAuthScreen() {
|
|||||||
hint = stringResource(R.string.text_hint_email),
|
hint = stringResource(R.string.text_hint_email),
|
||||||
error = emailError
|
error = emailError
|
||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.padding(8.dp))
|
Spacer(modifier = Modifier.padding(4.dp))
|
||||||
TextInputField(
|
TextInputField(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.fillMaxWidth(),
|
.fillMaxWidth(),
|
||||||
@@ -278,7 +278,7 @@ fun UserAuthScreen() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
Spacer(modifier = Modifier.height(64.dp))
|
Spacer(modifier = Modifier.height(46.dp))
|
||||||
ActionButton(
|
ActionButton(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
text = stringResource(R.string.lets_ride_upper),
|
text = stringResource(R.string.lets_ride_upper),
|
||||||
@@ -287,7 +287,7 @@ fun UserAuthScreen() {
|
|||||||
) {
|
) {
|
||||||
onLogin()
|
onLogin()
|
||||||
}
|
}
|
||||||
Spacer(modifier = Modifier.height(48.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
Text(stringResource(R.string.or_login_with), color = Color(0xFF999999))
|
Text(stringResource(R.string.or_login_with), color = Color(0xFF999999))
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
ActionButton(
|
ActionButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user