mirror of
https://github.com/bitwarden/android.git
synced 2024-11-25 19:06:05 +03:00
[PM-9933] Update marketing copy (#3778)
This commit is contained in:
parent
57c2e7ee4e
commit
ad2c575b39
3 changed files with 3 additions and 2 deletions
|
@ -422,7 +422,7 @@ private fun ReceiveMarketingEmailsSwitch(
|
||||||
val unsubscribeString = stringResource(id = R.string.unsubscribe)
|
val unsubscribeString = stringResource(id = R.string.unsubscribe)
|
||||||
@Suppress("MaxLineLength")
|
@Suppress("MaxLineLength")
|
||||||
val annotatedLinkString = createAnnotatedString(
|
val annotatedLinkString = createAnnotatedString(
|
||||||
mainString = stringResource(id = R.string.get_emails_from_bitwarden_for_announcements_advices_and_research_opportunities_unsubscribe_any_time),
|
mainString = stringResource(id = R.string.get_advice_announcements_and_research_opportunities_from_bitwarden_in_your_inbox_unsubscribe_any_time),
|
||||||
highlights = listOf(unsubscribeString),
|
highlights = listOf(unsubscribeString),
|
||||||
tag = TAG_URL,
|
tag = TAG_URL,
|
||||||
)
|
)
|
||||||
|
|
|
@ -939,6 +939,7 @@ Do you want to switch to this account?</string>
|
||||||
<string name="no_email_go_back_to_edit_your_email_address">No email? Go back to edit your email address.</string>
|
<string name="no_email_go_back_to_edit_your_email_address">No email? Go back to edit your email address.</string>
|
||||||
<string name="or_log_in_you_may_already_have_an_account">Or log in, you may already have an account.</string>
|
<string name="or_log_in_you_may_already_have_an_account">Or log in, you may already have an account.</string>
|
||||||
<string name="get_emails_from_bitwarden_for_announcements_advices_and_research_opportunities_unsubscribe_any_time">Get emails from Bitwarden for announcements, advice, and research opportunities. Unsubscribe at any time.</string>
|
<string name="get_emails_from_bitwarden_for_announcements_advices_and_research_opportunities_unsubscribe_any_time">Get emails from Bitwarden for announcements, advice, and research opportunities. Unsubscribe at any time.</string>
|
||||||
|
<string name="get_advice_announcements_and_research_opportunities_from_bitwarden_in_your_inbox_unsubscribe_any_time">Get advice, announcements, and research opportunities from Bitwarden in your inbox. Unsubscribe at any time.</string>
|
||||||
<string name="privacy_prioritized">Privacy, prioritized</string>
|
<string name="privacy_prioritized">Privacy, prioritized</string>
|
||||||
<string name="welcome_message_1">Save logins, cards, and identities to your secure vault. Bitwarden uses zero-knowledge, end-to-end encryption to protect what’s important to you.</string>
|
<string name="welcome_message_1">Save logins, cards, and identities to your secure vault. Bitwarden uses zero-knowledge, end-to-end encryption to protect what’s important to you.</string>
|
||||||
<string name="welcome_message_2">Set up biometric unlock and autofill to log into your accounts without typing a single letter.</string>
|
<string name="welcome_message_2">Set up biometric unlock and autofill to log into your accounts without typing a single letter.</string>
|
||||||
|
|
|
@ -246,7 +246,7 @@ class StartRegistrationScreenTest : BaseComposeTest() {
|
||||||
fun `when unsubscribe custom action invoked should send UnsubscribeMarketingEmailsClick`() {
|
fun `when unsubscribe custom action invoked should send UnsubscribeMarketingEmailsClick`() {
|
||||||
@Suppress("MaxLineLength")
|
@Suppress("MaxLineLength")
|
||||||
composeTestRule
|
composeTestRule
|
||||||
.onNodeWithText("Get emails from Bitwarden for announcements, advice, and research opportunities. Unsubscribe at any time.")
|
.onNodeWithText("Get advice, announcements, and research opportunities from Bitwarden in your inbox. Unsubscribe at any time.")
|
||||||
.performCustomAccessibilityAction("Unsubscribe")
|
.performCustomAccessibilityAction("Unsubscribe")
|
||||||
|
|
||||||
verify { viewModel.trySendAction(StartRegistrationAction.UnsubscribeMarketingEmailsClick) }
|
verify { viewModel.trySendAction(StartRegistrationAction.UnsubscribeMarketingEmailsClick) }
|
||||||
|
|
Loading…
Reference in a new issue