Fixed diff header background having paddings

This commit is contained in:
Abdelilah El Aissaoui 2022-06-04 15:41:41 +02:00
parent 77edfe14d7
commit 592a5c3179

View File

@ -304,8 +304,8 @@ fun DiffHeader(
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.height(50.dp) .height(50.dp)
.padding(start = 8.dp, end = 8.dp, top = 8.dp) .background(MaterialTheme.colors.surface)
.background(MaterialTheme.colors.surface), .padding(start = 8.dp, end = 8.dp, top = 8.dp),
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {
val filePath = if (diffEntry.newPath != "/dev/null") val filePath = if (diffEntry.newPath != "/dev/null")