Correct file navigation descriptions for unrestricted paths
This commit is contained in:
@@ -348,7 +348,7 @@ private struct EntryRow: View {
|
||||
.background(hover && kind != .other ? Palette.surface : .clear, in: RoundedRectangle(cornerRadius: 4))
|
||||
.contentShape(Rectangle())
|
||||
if kind == .other {
|
||||
row.help("Leaves the worktree, points nowhere, or isn't a file or directory")
|
||||
row.help("Can't read the entry, or it isn't a regular file or directory")
|
||||
} else {
|
||||
Button(action: action) {
|
||||
row
|
||||
|
||||
Reference in New Issue
Block a user