Copy raw description on long tap (fixes #6557)
(cherry picked from commit b47b702a52c0d540dcf937cbfaa86b1bbd3c8532)
This commit is contained in:
parent
4a627ea359
commit
0b2dabc7fa
@ -267,10 +267,12 @@ class MangaSummaryView @JvmOverloads constructor(
|
|||||||
minLines = DESC_MIN_LINES
|
minLines = DESC_MIN_LINES
|
||||||
|
|
||||||
setOnLongClickListener {
|
setOnLongClickListener {
|
||||||
context.copyToClipboard(
|
description?.let {
|
||||||
context.getString(R.string.description),
|
context.copyToClipboard(
|
||||||
text.toString()
|
context.getString(R.string.description),
|
||||||
)
|
it.toString()
|
||||||
|
)
|
||||||
|
}
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user