Copy raw description on long tap (fixes #6557)
This commit is contained in:
parent
869424cd16
commit
b47b702a52
@ -169,10 +169,12 @@ class MangaSummaryView @JvmOverloads constructor(
|
|||||||
minLines = DESC_MIN_LINES
|
minLines = DESC_MIN_LINES
|
||||||
|
|
||||||
setOnLongClickListener {
|
setOnLongClickListener {
|
||||||
|
description?.let {
|
||||||
context.copyToClipboard(
|
context.copyToClipboard(
|
||||||
context.getString(R.string.description),
|
context.getString(R.string.description),
|
||||||
text.toString()
|
it.toString()
|
||||||
)
|
)
|
||||||
|
}
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user