用户信息调整
This commit is contained in:
@@ -42,6 +42,7 @@ import com.aiosman.ravenow.ui.NavigationRoute
|
||||
import com.aiosman.ravenow.ui.account.AccountEditViewModel
|
||||
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||
import com.aiosman.ravenow.ui.comment.ScreenHeader
|
||||
import com.aiosman.ravenow.ui.comment.ScreenHeader2
|
||||
import com.aiosman.ravenow.ui.composables.ActionButton
|
||||
import com.aiosman.ravenow.ui.composables.CustomAsyncImage
|
||||
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||
@@ -96,7 +97,7 @@ fun AddAgentScreen() {
|
||||
modifier = Modifier.padding(horizontal = 24.dp, vertical = 16.dp)
|
||||
.background(color = appColors.decentBackground)
|
||||
) {
|
||||
ScreenHeader (
|
||||
ScreenHeader2 (
|
||||
title = stringResource(R.string.agent_add),
|
||||
moreIcon = false
|
||||
) {
|
||||
@@ -207,7 +208,7 @@ fun AddAgentScreen() {
|
||||
backgroundColor = Color.Transparent,
|
||||
text = stringResource(R.string.agent_create),
|
||||
isLoading = model.isUpdating,
|
||||
loadingText = "创建中...",
|
||||
loadingText = stringResource(R.string.agent_createing),
|
||||
enabled = !model.isUpdating && model.validate() == null
|
||||
) {
|
||||
// 验证输入
|
||||
|
||||
Reference in New Issue
Block a user