Reduced diff header size
This commit is contained in:
parent
1ed6572170
commit
7c0316b2d3
@ -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),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user