mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Iterate on add account onboarding UI.
This commit is contained in:
+6
-2
@@ -180,6 +180,9 @@ private fun AddFirstAccountScaffold(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ref: https://www.figma.com/design/kEAcfun9iSpszeUDvdKZ6b/ER-351--Multi-account-in-EX?node-id=147-34607
|
||||||
|
*/
|
||||||
@Composable
|
@Composable
|
||||||
private fun AddOtherAccountScaffold(
|
private fun AddOtherAccountScaffold(
|
||||||
loginView: @Composable () -> Unit,
|
loginView: @Composable () -> Unit,
|
||||||
@@ -189,8 +192,9 @@ private fun AddOtherAccountScaffold(
|
|||||||
) {
|
) {
|
||||||
FlowStepPage(
|
FlowStepPage(
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
title = stringResource(CommonStrings.common_add_account),
|
title = stringResource(R.string.screen_onboarding_add_account_title),
|
||||||
iconStyle = BigIcon.Style.Default(CompoundIcons.HomeSolid()),
|
subTitle = stringResource(R.string.screen_onboarding_add_account_subtitle),
|
||||||
|
iconStyle = BigIcon.Style.Default(CompoundIcons.Plus()),
|
||||||
buttons = { buttons() },
|
buttons = { buttons() },
|
||||||
content = loginView,
|
content = loginView,
|
||||||
onBackClick = onBackClick,
|
onBackClick = onBackClick,
|
||||||
|
|||||||
@@ -52,6 +52,8 @@
|
|||||||
<string name="screen_missing_key_backup_step_4">"Follow the instructions to enable your key storage"</string>
|
<string name="screen_missing_key_backup_step_4">"Follow the instructions to enable your key storage"</string>
|
||||||
<string name="screen_missing_key_backup_step_5">"Come back to %1$s"</string>
|
<string name="screen_missing_key_backup_step_5">"Come back to %1$s"</string>
|
||||||
<string name="screen_missing_key_backup_title">"Enable your key storage before proceeding to %1$s"</string>
|
<string name="screen_missing_key_backup_title">"Enable your key storage before proceeding to %1$s"</string>
|
||||||
|
<string name="screen_onboarding_add_account_subtitle">"You can add multiple accounts to the app and switch between them easily."</string>
|
||||||
|
<string name="screen_onboarding_add_account_title">"Sign in to another account"</string>
|
||||||
<string name="screen_onboarding_app_version">"Version %1$s"</string>
|
<string name="screen_onboarding_app_version">"Version %1$s"</string>
|
||||||
<string name="screen_onboarding_checking_account">"Checking account"</string>
|
<string name="screen_onboarding_checking_account">"Checking account"</string>
|
||||||
<string name="screen_onboarding_sign_in_manually">"Sign in manually"</string>
|
<string name="screen_onboarding_sign_in_manually">"Sign in manually"</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user