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

This commit is contained in:
Abdelilah El Aissaoui 2022-04-04 05:05:50 +02:00
parent 0c40d7892c
commit 61d5ee941a

View File

@ -566,6 +566,7 @@ private fun FileEntry(
tint = statusEntry.iconColor,
)
if(diffEntry.parentDirectoryPath.isNotEmpty()) {
Text(
text = diffEntry.parentDirectoryPath,
modifier = Modifier.weight(1f, fill = false),
@ -575,6 +576,7 @@ private fun FileEntry(
overflow = TextOverflow.Ellipsis,
color = secondaryTextColor,
)
}
Text(
text = diffEntry.fileName,
modifier = Modifier.weight(1f, fill = false),