mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
Fix text diff removed linebreak
This commit is contained in:
parent
8ca829d538
commit
d4161e9a1a
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ Other changes:
|
|||
-
|
||||
|
||||
Bugfix:
|
||||
-
|
||||
- Fix text diff linebreak display (#441)
|
||||
|
||||
Translations:
|
||||
-
|
||||
|
|
|
@ -113,7 +113,7 @@ class ViewEditHistoryEpoxyController(private val context: Context,
|
|||
when (it.operation) {
|
||||
diff_match_patch.Operation.DELETE -> {
|
||||
span {
|
||||
text = it.text
|
||||
text = it.text.replace("\n"," ")
|
||||
textColor = ContextCompat.getColor(context, R.color.vector_error_color)
|
||||
textDecorationLine = "line-through"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue