Copy raw description on long tap (fixes #6557)

This commit is contained in:
arkon 2022-03-09 18:01:28 -05:00
parent 869424cd16
commit b47b702a52

View File

@ -169,10 +169,12 @@ class MangaSummaryView @JvmOverloads constructor(
minLines = DESC_MIN_LINES
setOnLongClickListener {
context.copyToClipboard(
context.getString(R.string.description),
text.toString()
)
description?.let {
context.copyToClipboard(
context.getString(R.string.description),
it.toString()
)
}
true
}
}