diff --git a/CHANGES.md b/CHANGES.md index 682c176b..436d4590 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,7 +11,7 @@ Other changes: - Bugfix: - - + - Fix text diff linebreak display (#441) Translations: - diff --git a/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/ViewEditHistoryEpoxyController.kt b/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/ViewEditHistoryEpoxyController.kt index dab43108..0b311e7c 100644 --- a/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/ViewEditHistoryEpoxyController.kt +++ b/vector/src/main/java/im/vector/riotx/features/home/room/detail/timeline/action/ViewEditHistoryEpoxyController.kt @@ -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" }