mirror of
https://github.com/bitwarden/android.git
synced 2026-04-28 11:58:40 -05:00
PM-26187: Add autofill help call-to-action (#5942)
This commit is contained in:
@@ -36,10 +36,10 @@ fun BitwardenActionCardSmall(
|
||||
actionIcon: VectorPainter,
|
||||
actionText: String,
|
||||
callToActionText: String,
|
||||
callToActionTextColor: Color = BitwardenTheme.colorScheme.text.primary,
|
||||
colors: CardColors = bitwardenCardColors(),
|
||||
onCardClicked: () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
callToActionTextColor: Color = BitwardenTheme.colorScheme.text.primary,
|
||||
colors: CardColors = bitwardenCardColors(),
|
||||
trailingContent: (@Composable BoxScope.() -> Unit)? = null,
|
||||
) {
|
||||
Card(
|
||||
@@ -67,13 +67,13 @@ fun BitwardenActionCardSmall(
|
||||
) {
|
||||
Text(
|
||||
text = actionText,
|
||||
style = BitwardenTheme.typography.bodyLarge,
|
||||
style = BitwardenTheme.typography.titleMedium,
|
||||
color = BitwardenTheme.colorScheme.text.primary,
|
||||
)
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
Text(
|
||||
text = callToActionText,
|
||||
style = BitwardenTheme.typography.labelLarge,
|
||||
style = BitwardenTheme.typography.bodyMedium,
|
||||
color = callToActionTextColor,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1123,4 +1123,6 @@ Do you want to switch to this account?</string>
|
||||
<string name="select_account">Select account</string>
|
||||
<string name="import_restricted_unable_to_import_credit_cards">Import restricted, unable to import cards from this account.</string>
|
||||
<string name="verify_your_master_password">Verify your master password</string>
|
||||
<string name="having_trouble_with_autofill">Having trouble with autofill?</string>
|
||||
<string name="access_help_and_troubleshooting_documentation_here">Access help and troubleshooting documentation here</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user