Cleanup dead code after Periphery run

This commit is contained in:
Stefan Ceriu
2024-06-06 15:57:44 +03:00
committed by Stefan Ceriu
parent bb038e8064
commit b2afa04832
43 changed files with 20 additions and 204 deletions
@@ -42,8 +42,7 @@ struct MediaUploadPreviewScreen: View {
.font(.compound.headingMD)
.foregroundColor(.compound.textSecondary)
} else {
PreviewView(context: context,
fileURL: context.viewState.url,
PreviewView(fileURL: context.viewState.url,
title: context.viewState.title)
}
}
@@ -65,7 +64,6 @@ struct MediaUploadPreviewScreen: View {
}
private struct PreviewView: UIViewControllerRepresentable {
let context: MediaUploadPreviewScreenViewModel.Context
let fileURL: URL
let title: String?