Commit ebdb38ad9b
Unsigned
Layout: unified · split
Hutch/Views/Repositories/FileTreeView.swift +2 −2
| @@ -184,7 +184,7 @@ private struct FileTreeContentView: View { | ||
| 184 | 184 | private func fileContentView(entry: TreeEntry, object: GitObject) -> some View { |
| 185 | 185 | switch object { |
| 186 | 186 | case .textBlob(let blob): |
| 187 | textBlobView(entry: entry, blob: blob) | |
| 187 | textBlobView(entry, blob: blob) | |
| 188 | 188 | case .binaryBlob(let blob): |
| 189 | 189 | binaryBlobView(entry: entry, blob: blob) |
| 190 | 190 | default: |
| @@ -221,7 +221,7 @@ private struct FileTreeContentView: View { | ||
| 221 | 221 | // MARK: - Text Blob |
| 222 | 222 | |
| 223 | 223 | @ViewBuilder |
| 224 | private func textBlobView(entry: TreeEntry, blob: GitTextBlob) -> some View { | |
| 224 | private func textBlobView(_ entry: TreeEntry, blob: GitTextBlob) -> some View { | |
| 225 | 225 | VStack(spacing: 0) { |
| 226 | 226 | HStack { |
| 227 | 227 | Spacer() |