Fixed file name not being completly displayed when it's in the root of the dir for commited changes

This commit is contained in:
Abdelilah El Aissaoui 2022-04-04 21:00:17 +02:00
parent 8d066f15dc
commit 60a6fb1a3e

View file

@ -227,6 +227,7 @@ fun CommitLogChanges(
tint = diffEntry.iconColor,
)
if(diffEntry.parentDirectoryPath.isNotEmpty()) {
Text(
text = diffEntry.parentDirectoryPath,
modifier = Modifier.weight(1f, fill = false),
@ -236,6 +237,7 @@ fun CommitLogChanges(
overflow = TextOverflow.Ellipsis,
color = secondaryTextColor,
)
}
Text(
text = diffEntry.fileName,
modifier = Modifier.weight(1f, fill = false),