mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
removing trailing space
This commit is contained in:
parent
b73bae452a
commit
ddbf8582dd
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ fun CharSequence.findPillsAndProcess(scope: CoroutineScope, processBlock: (PillI
|
|||
}
|
||||
|
||||
fun CharSequence.linkify(callback: TimelineEventController.UrlClickCallback?): CharSequence {
|
||||
val text = this.toString()
|
||||
val text = this.toString()
|
||||
// SpannableStringBuilder is used to avoid Epoxy throwing ImmutableModelException
|
||||
val spannable = SpannableStringBuilder(this)
|
||||
MatrixLinkify.addLinks(spannable, object : MatrixPermalinkSpan.Callback {
|
||||
|
|
Loading…
Reference in a new issue