diff --git a/app/src/main/java/org/thoughtcrime/securesms/preferences/HelpSettingsActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/preferences/HelpSettingsActivity.kt index 2959a46016..d3c68a814d 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/preferences/HelpSettingsActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/preferences/HelpSettingsActivity.kt @@ -115,8 +115,7 @@ class HelpSettingsFragment: CorrectedPreferenceFragment() { val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url)) startActivity(intent) } catch (e: Exception) { - // TODO: Have asked Rebecca about a new string for this to replace the hard-coded text below - Toast.makeText(requireActivity(), "Can't open URL", Toast.LENGTH_LONG).show() + Toast.makeText(requireActivity(), requireContext().getString(R.string.errorUnknown), Toast.LENGTH_LONG).show() } } diff --git a/app/src/main/res/xml/preferences_privacy.xml b/app/src/main/res/xml/preferences_privacy.xml index 131a9d3efa..b4082bd125 100644 --- a/app/src/main/res/xml/preferences_privacy.xml +++ b/app/src/main/res/xml/preferences_privacy.xml @@ -39,7 +39,7 @@ android:key="pref_typing_indicators" android:title="@string/typingIndicators" android:summary="@string/typingIndicatorsDescription" /> - +