Fix text diff removed linebreak

This commit is contained in:
Valere 2019-08-18 17:30:41 -04:00
parent 8ca829d538
commit d4161e9a1a
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ Other changes:
-

Bugfix:
-
- Fix text diff linebreak display (#441)

Translations:
-

View File

@ -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"
}