summaryrefslogtreecommitdiff
path: root/Hutch/Views/Repositories/FileTreeView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/Repositories/FileTreeView.swift')
-rw-r--r--Hutch/Views/Repositories/FileTreeView.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hutch/Views/Repositories/FileTreeView.swift b/Hutch/Views/Repositories/FileTreeView.swift
index adacb2e..0e7c56e 100644
--- a/Hutch/Views/Repositories/FileTreeView.swift
+++ b/Hutch/Views/Repositories/FileTreeView.swift
@@ -369,7 +369,7 @@ private struct FileTreeContentView: View {
}
}
-private struct CodeFileTextView: UIViewRepresentable {
+struct CodeFileTextView: UIViewRepresentable {
let text: String
let fileName: String
let wrapLines: Bool
@@ -396,7 +396,7 @@ private struct CodeFileTextView: UIViewRepresentable {
}
}
-private struct FileContentShareSheet: UIViewControllerRepresentable {
+struct FileContentShareSheet: UIViewControllerRepresentable {
let activityItems: [Any]
func makeUIViewController(context _: Context) -> UIActivityViewController {
@@ -406,7 +406,7 @@ private struct FileContentShareSheet: UIViewControllerRepresentable {
func updateUIViewController(_ : UIActivityViewController, context _: Context) {}
}
-private final class CodeFileUIView: UIView {
+final class CodeFileUIView: UIView {
private enum Layout {
static let verticalPadding: CGFloat = 12
static let gutterLeadingPadding: CGFloat = 12