fix #250, allow copying phone number to clipboard by long pressing it
Works at the View contact screen only
This commit is contained in:
parent
12c5f52092
commit
02002297c0
|
@ -235,6 +235,12 @@ class ViewContactActivity : ContactActivity() {
|
|||
startCallIntent(phoneNumber.value)
|
||||
}
|
||||
}
|
||||
|
||||
setOnLongClickListener {
|
||||
copyToClipboard(phoneNumber.value)
|
||||
toast(R.string.value_copied_to_clipboard)
|
||||
true
|
||||
}
|
||||
}
|
||||
}
|
||||
contact_numbers_image.beVisible()
|
||||
|
|
Loading…
Reference in New Issue