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