forked from GitHub-Mirror/riotX-android
Fix (edited)
link can be copied to clipboard (#402)
This commit is contained in:
parent
a04f4421f6
commit
35229882e3
@ -20,6 +20,7 @@ Bugfix:
|
|||||||
- Clear notification for a room left on another client
|
- Clear notification for a room left on another client
|
||||||
- Fix messages with empty `in_reply_to` not rendering (#447)
|
- Fix messages with empty `in_reply_to` not rendering (#447)
|
||||||
- Fix clear cache (#408) and Logout (#205)
|
- Fix clear cache (#408) and Logout (#205)
|
||||||
|
- Fix `(edited)` link can be copied to clipboard (#402)
|
||||||
|
|
||||||
Translations:
|
Translations:
|
||||||
-
|
-
|
||||||
|
@ -694,8 +694,10 @@ class RoomDetailFragment :
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onUrlLongClicked(url: String): Boolean {
|
override fun onUrlLongClicked(url: String): Boolean {
|
||||||
|
if (url != getString(R.string.edited_suffix)) {
|
||||||
// Copy the url to the clipboard
|
// Copy the url to the clipboard
|
||||||
copyToClipboard(requireContext(), url, true, R.string.link_copied_to_clipboard)
|
copyToClipboard(requireContext(), url, true, R.string.link_copied_to_clipboard)
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user