Reduced diff header size

This commit is contained in:
Abdelilah El Aissaoui 2022-01-05 02:58:57 +01:00
parent 1ed6572170
commit 7c0316b2d3

View File

@ -53,7 +53,6 @@ fun Diff(
.fillMaxSize(),
state = scrollState
) {
item { Spacer(modifier = Modifier.height(16.dp)) }
items(hunks) { hunk ->
HunkHeader(
hunk = hunk,
@ -139,7 +138,7 @@ fun DiffHeader(diffEntry: DiffEntry, onCloseDiffView: () -> Unit) {
Text(
text = filePath,
color = MaterialTheme.colors.primaryTextColor,
fontSize = 16.sp,
fontSize = 14.sp,
modifier = Modifier.padding(horizontal = 16.dp),
)