Skip to content

Commit

Permalink
update 3ds snackbar copy (#2100)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighdouglas authored Aug 14, 2024
1 parent ef64663 commit f87255a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,12 @@ class PledgedProjectsOverviewActivity : AppCompatActivity() {
viewModel.showLoadingState(false)
}
if (result.outcome == StripeIntentResult.Outcome.SUCCEEDED) {
viewModel.showHeadsUpSnackbar(R.string.successful_validation_please_pull_to_refresh_fpo)
viewModel.showHeadsUpSnackbar(R.string.youve_been_authenticated_successfully_pull_to_refresh_fpo)
viewModel.getPledgedProjects()
} else if (result.outcome == StripeIntentResult.Outcome.FAILED ||
result.outcome == StripeIntentResult.Outcome.TIMEDOUT ||
result.outcome == StripeIntentResult.Outcome.UNKNOWN
) viewModel.showErrorSnackbar(R.string.general_error_something_wrong)
) viewModel.showErrorSnackbar(R.string.authentication_failed_please_try_again_fpo)
}
override fun onError(e: Exception) {
lifecycleScope.launch {
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
<string name="address_confirmed_snackbar_text_fpo">Address confirmed! Need to change your address before it locks? Visit your backing details on our website.</string>
<string name="backing_details_fpo">Backing details</string>
<string name="something_went_wrong_pull_to_refresh_fpo">Something went wrong - Pull to refresh</string>
<string name="successful_validation_please_pull_to_refresh_fpo">Validation successful! Please pull to refresh</string>
<string name="youve_been_authenticated_successfully_pull_to_refresh_fpo">You\'ve been authenticated successfully! Pull to refresh.</string>
<string name="authentication_success_please_pull_to_refresh_fpo">Authentication success. Please pull to refresh.</string>
<string name="authentication_failed_please_try_again_fpo">"Authentication failed. Please try again."</string>

</resources>

0 comments on commit f87255a

Please sign in to comment.