Added possibility to select file path in diff
This commit is contained in:
parent
2c321e303a
commit
e2cf95712a
@ -795,7 +795,8 @@ private fun DiffHeader(
|
||||
val fileName = diffEntry.fileName
|
||||
val dirPath: String = diffEntry.parentDirectoryPath
|
||||
|
||||
Row(Modifier.weight(1f, true)) {
|
||||
SelectionContainer {
|
||||
Row {
|
||||
if (dirPath.isNotEmpty()) {
|
||||
Text(
|
||||
text = dirPath.removeSuffix("/"),
|
||||
@ -827,6 +828,9 @@ private fun DiffHeader(
|
||||
modifier = Modifier.padding(end = 16.dp),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Spacer(Modifier.weight(1f, true))
|
||||
|
||||
|
||||
Row(
|
||||
|
Loading…
Reference in New Issue
Block a user