统一重置密码界面背景色和错误文本颜色
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.aiosman.ravenow.ui.account
|
||||
|
||||
import android.widget.Toast
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.PaddingValues
|
||||
@@ -111,7 +112,7 @@ fun ResetPasswordScreen() {
|
||||
|
||||
|
||||
Column(
|
||||
modifier = Modifier.fillMaxSize()
|
||||
modifier = Modifier.fillMaxSize().background(color = appColors.background)
|
||||
) {
|
||||
StatusBarSpacer()
|
||||
Box(
|
||||
|
||||
@@ -136,7 +136,7 @@ fun TextInputField(
|
||||
)
|
||||
Spacer(modifier = Modifier.size(4.dp))
|
||||
AnimatedContent(targetState = error) { targetError ->
|
||||
Text(targetError ?: "", color = AppColors.text, fontSize = 12.sp)
|
||||
Text(targetError ?: "", color = AppColors.error, fontSize = 12.sp)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user