diff --git a/app/src/main/java/org/thoughtcrime/securesms/registration/fragments/ContactSupportBottomSheetFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/registration/fragments/ContactSupportBottomSheetFragment.kt index dab4a49857..6a395ca37a 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/registration/fragments/ContactSupportBottomSheetFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/registration/fragments/ContactSupportBottomSheetFragment.kt @@ -80,7 +80,7 @@ class ContactSupportBottomSheetFragment : ComposeBottomSheetDialogFragment() { private fun buildClickableString(): AnnotatedString { val troubleshootingStepsString = stringResource(R.string.RegistrationActivity_support_bottom_sheet_cta_troubleshooting_steps_substring) val contactSupportString = stringResource(R.string.RegistrationActivity_support_bottom_sheet_cta_contact_support_substring) - val completeString = stringResource(R.string.RegistrationActivity_support_bottom_sheet_body_call_to_action) + val completeString = stringResource(R.string.RegistrationActivity_support_bottom_sheet_body_call_to_action, troubleshootingStepsString, contactSupportString) val troubleshootingStartIndex = completeString.indexOf(troubleshootingStepsString) val troubleshootingEndIndex = troubleshootingStartIndex + troubleshootingStepsString.length diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 36daf9214f..75cae3272f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2230,8 +2230,8 @@ Having trouble registering? • Make sure your phone has a cellular signal to receive your SMS or call\n • Confirm you can receive a phone call to the number\n • Check that you have entered your phone number correctly. - - For more information, please follow these troubleshooting steps or Contact Support + + For more information, please follow %1$s or %2$s these troubleshooting steps