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
1 changed files with 11 additions and 9 deletions
|
@ -227,15 +227,17 @@ fun CommitLogChanges(
|
|||
tint = diffEntry.iconColor,
|
||||
)
|
||||
|
||||
Text(
|
||||
text = diffEntry.parentDirectoryPath,
|
||||
modifier = Modifier.weight(1f, fill = false),
|
||||
maxLines = 1,
|
||||
softWrap = false,
|
||||
fontSize = 13.sp,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
color = secondaryTextColor,
|
||||
)
|
||||
if(diffEntry.parentDirectoryPath.isNotEmpty()) {
|
||||
Text(
|
||||
text = diffEntry.parentDirectoryPath,
|
||||
modifier = Modifier.weight(1f, fill = false),
|
||||
maxLines = 1,
|
||||
softWrap = false,
|
||||
fontSize = 13.sp,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
color = secondaryTextColor,
|
||||
)
|
||||
}
|
||||
Text(
|
||||
text = diffEntry.fileName,
|
||||
modifier = Modifier.weight(1f, fill = false),
|
||||
|
|
Loading…
Reference in a new issue