Fix two one-liner issues

This commit is contained in:
alansley 2024-08-29 17:34:03 +10:00
parent 4c6c450b32
commit 16b8ad46c0
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -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>