mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 09:15:12 +03:00
Copy raw description on long tap (fixes #6557)
This commit is contained in:
parent
869424cd16
commit
b47b702a52
1 changed files with 6 additions and 4 deletions
|
@ -169,10 +169,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…
Reference in a new issue