Update the intro screen after select on a more options row
screenshot: https://screenshot.googleplex.com/jCnd2ZamuTFDnNZ Test: deployed locally Bug: 253157211 Change-Id: Ie96bf43dea6a2380f123b084190c541c5c7fcc08
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
<string name="sign_ins">sign-ins</string>
|
||||
<string name="another_device">Another device</string>
|
||||
<string name="other_password_manager">Other password manager</string>
|
||||
<!-- TODO: Check the wording here. -->
|
||||
<string name="confirm_default_or_use_once_description">This password manager will store your passwords and passkeys to help you easily sign in.</string>
|
||||
<!-- Spoken content description of an element which will close the sheet when clicked. -->
|
||||
<string name="close_sheet">"Close sheet"</string>
|
||||
<!-- Spoken content description of the back arrow button. -->
|
||||
|
||||
@@ -21,6 +21,7 @@ import androidx.compose.material3.TextButton
|
||||
import androidx.compose.material3.TopAppBar
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.filled.ArrowBack
|
||||
import androidx.compose.material.icons.outlined.NewReleases
|
||||
import androidx.compose.material.icons.filled.Add
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.LaunchedEffect
|
||||
@@ -309,9 +310,21 @@ fun MoreOptionsRowIntroCard(
|
||||
) {
|
||||
Card() {
|
||||
Column() {
|
||||
Icon(
|
||||
Icons.Outlined.NewReleases,
|
||||
contentDescription = null,
|
||||
modifier = Modifier.align(alignment = Alignment.CenterHorizontally).padding(all = 24.dp)
|
||||
)
|
||||
Text(
|
||||
text = stringResource(R.string.use_provider_for_all_title, providerInfo.displayName),
|
||||
style = MaterialTheme.typography.titleMedium,
|
||||
modifier = Modifier.padding(horizontal = 24.dp)
|
||||
.align(alignment = Alignment.CenterHorizontally),
|
||||
textAlign = TextAlign.Center,
|
||||
)
|
||||
Text(
|
||||
text = stringResource(R.string.confirm_default_or_use_once_description),
|
||||
style = MaterialTheme.typography.bodyLarge,
|
||||
modifier = Modifier.padding(all = 24.dp).align(alignment = Alignment.CenterHorizontally)
|
||||
)
|
||||
Row(
|
||||
|
||||
Reference in New Issue
Block a user