Fix two one-liner issues

pull/1650/head
alansley 8 months ago
parent 4c6c450b32
commit 16b8ad46c0

@ -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()
}
}

@ -39,7 +39,7 @@
android:key="pref_typing_indicators"
android:title="@string/typingIndicators"
android:summary="@string/typingIndicatorsDescription" />
<ImagePreference /> <!-- TODO ACL: Need to show a live typing indicator here & remove the "(...)" from the above string -->
<!-- TODO ACL: Need to show a live typing indicator here & remove the "(...)" from the above string (if it's there - it might have been removed now) -->
</PreferenceCategory>

Loading…
Cancel
Save