Fixed file name not being completly displayed when it's in the root of the dir for commited changes
This commit is contained in:
parent
8d066f15dc
commit
60a6fb1a3e
@ -227,15 +227,17 @@ fun CommitLogChanges(
|
|||||||
tint = diffEntry.iconColor,
|
tint = diffEntry.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