Skip to content
Snippets Groups Projects
Commit a485f182 authored by Pierre Nicolas's avatar Pierre Nicolas :joy:
Browse files

details: copy to clipboard on field click

Copy registered name/identifier to clipboard at click.

GitLab: #1723
Change-Id: Iade10219aa3117d20980c77694dc57a0fbd22327
parent 57b67930
Branches
Tags
No related merge requests found
......@@ -73,6 +73,19 @@ class ConversationActionsFragment : Fragment() {
conversationIdPanel.setOnClickListener {
copyAndShow(requireContext(), getString(R.string.swarm_id), path.conversationId)
}
userNamePanel.setOnClickListener {
copyAndShow(
requireContext(),
getString(R.string.clip_contact_uri), binding?.userName?.text.toString()
)
}
identifierPanel.setOnClickListener {
copyAndShow(
requireContext(),
getString(R.string.clip_contact_uri), binding?.identifier?.text.toString()
)
}
conversationId.text = conversationUri
conversationPath = path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment