forked from GitHub-Mirror/riotX-android
parent
c3d945d6bb
commit
c00dbce536
@ -11,7 +11,7 @@ Other changes:
|
||||
-
|
||||
|
||||
Bugfix:
|
||||
-
|
||||
- Edited message: link confusion when (edited) appears in body (#398)
|
||||
|
||||
Translations:
|
||||
-
|
||||
|
@ -323,7 +323,7 @@ class MessageItemFactory @Inject constructor(
|
||||
val editedSuffix = stringProvider.getString(R.string.edited_suffix)
|
||||
spannable.append(" ").append(editedSuffix)
|
||||
val color = colorProvider.getColorFromAttribute(R.attr.vctr_list_header_secondary_text_color)
|
||||
val editStart = spannable.indexOf(editedSuffix)
|
||||
val editStart = spannable.lastIndexOf(editedSuffix)
|
||||
val editEnd = editStart + editedSuffix.length
|
||||
spannable.setSpan(
|
||||
ForegroundColorSpan(color),
|
||||
|
Loading…
Reference in New Issue
Block a user