Diff replaces a tab by 4 characters until compose bug is fixed
https://github.com/JetBrains/compose-jb/issues/615
This commit is contained in:
parent
b68135d3a4
commit
cdf7d61045
@ -338,7 +338,7 @@ fun DiffLine(highestLineNumberLength: Int, line: Line) {
|
||||
}
|
||||
|
||||
Text(
|
||||
text = line.text,
|
||||
text = line.text.replace("\t", " "), // this replace is a workaround until this issue gets fixed https://github.com/JetBrains/compose-jb/issues/615
|
||||
modifier = Modifier
|
||||
.padding(start = 8.dp)
|
||||
.fillMaxSize(),
|
||||
|
Loading…
Reference in New Issue
Block a user