forked from GitHub-Mirror/riotX-android
Fix text diff removed linebreak
This commit is contained in:
parent
8ca829d538
commit
d4161e9a1a
@ -11,7 +11,7 @@ Other changes:
|
|||||||
-
|
-
|
||||||
|
|
||||||
Bugfix:
|
Bugfix:
|
||||||
-
|
- Fix text diff linebreak display (#441)
|
||||||
|
|
||||||
Translations:
|
Translations:
|
||||||
-
|
-
|
||||||
|
@ -113,7 +113,7 @@ class ViewEditHistoryEpoxyController(private val context: Context,
|
|||||||
when (it.operation) {
|
when (it.operation) {
|
||||||
diff_match_patch.Operation.DELETE -> {
|
diff_match_patch.Operation.DELETE -> {
|
||||||
span {
|
span {
|
||||||
text = it.text
|
text = it.text.replace("\n"," ")
|
||||||
textColor = ContextCompat.getColor(context, R.color.vector_error_color)
|
textColor = ContextCompat.getColor(context, R.color.vector_error_color)
|
||||||
textDecorationLine = "line-through"
|
textDecorationLine = "line-through"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user