Fixed file name not being completly displayed when it's in the root of the dir
This commit is contained in:
parent
0c40d7892c
commit
61d5ee941a
@ -566,15 +566,17 @@ private fun FileEntry(
|
|||||||
tint = statusEntry.iconColor,
|
tint = statusEntry.iconColor,
|
||||||
)
|
)
|
||||||
|
|
||||||
Text(
|
if(diffEntry.parentDirectoryPath.isNotEmpty()) {
|
||||||
text = diffEntry.parentDirectoryPath,
|
Text(
|
||||||
modifier = Modifier.weight(1f, fill = false),
|
text = diffEntry.parentDirectoryPath,
|
||||||
maxLines = 1,
|
modifier = Modifier.weight(1f, fill = false),
|
||||||
softWrap = false,
|
maxLines = 1,
|
||||||
fontSize = 13.sp,
|
softWrap = false,
|
||||||
overflow = TextOverflow.Ellipsis,
|
fontSize = 13.sp,
|
||||||
color = secondaryTextColor,
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
color = secondaryTextColor,
|
||||||
|
)
|
||||||
|
}
|
||||||
Text(
|
Text(
|
||||||
text = diffEntry.fileName,
|
text = diffEntry.fileName,
|
||||||
modifier = Modifier.weight(1f, fill = false),
|
modifier = Modifier.weight(1f, fill = false),
|
||||||
|
Loading…
Reference in New Issue
Block a user