mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Fix two one-liner issues
This commit is contained in:
parent
4c6c450b32
commit
16b8ad46c0
@ -115,8 +115,7 @@ class HelpSettingsFragment: CorrectedPreferenceFragment() {
|
|||||||
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
|
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
|
||||||
startActivity(intent)
|
startActivity(intent)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
// TODO: Have asked Rebecca about a new string for this to replace the hard-coded text below
|
Toast.makeText(requireActivity(), requireContext().getString(R.string.errorUnknown), Toast.LENGTH_LONG).show()
|
||||||
Toast.makeText(requireActivity(), "Can't open URL", Toast.LENGTH_LONG).show()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
android:key="pref_typing_indicators"
|
android:key="pref_typing_indicators"
|
||||||
android:title="@string/typingIndicators"
|
android:title="@string/typingIndicators"
|
||||||
android:summary="@string/typingIndicatorsDescription" />
|
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>
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user