mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-19 04:38:44 +03:00
parent
c3d945d6bb
commit
c00dbce536
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue