mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
App | Redesign | Update account-and-data screen (#2177)
This commit is contained in:
parent
2f0b098a9c
commit
b1630655d7
1 changed files with 5 additions and 12 deletions
|
@ -51,10 +51,11 @@ fun AccountAndDataScreen(
|
|||
)
|
||||
Divider()
|
||||
Section(stringResource(R.string.account))
|
||||
Action(
|
||||
name = stringResource(R.string.reset_account),
|
||||
color = colorResource(R.color.anytype_text_red),
|
||||
onClick = onResetAccountClicked
|
||||
ActionWithProgressBar(
|
||||
name = stringResource(R.string.log_out),
|
||||
color = colorResource(R.color.text_primary),
|
||||
onClick = onLogoutClicked,
|
||||
isInProgress = isLogoutInProgress
|
||||
)
|
||||
Divider()
|
||||
Action(
|
||||
|
@ -63,14 +64,6 @@ fun AccountAndDataScreen(
|
|||
onClick = onDeleteAccountClicked
|
||||
)
|
||||
Divider()
|
||||
Box(Modifier.height(20.dp))
|
||||
ActionWithProgressBar(
|
||||
name = stringResource(R.string.log_out),
|
||||
color = colorResource(R.color.text_primary),
|
||||
onClick = onLogoutClicked,
|
||||
isInProgress = isLogoutInProgress
|
||||
)
|
||||
Divider()
|
||||
Box(Modifier.height(54.dp))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue