remove unused settings view

This commit is contained in:
Satindar Dhillon 2022-02-23 08:31:51 -08:00
parent a8762c5be6
commit 53df427fcb

View file

@ -42,9 +42,6 @@ struct MainApp: App {
WindowGroup {
RootView(pdfViewerProvider: nil, intercomProvider: nil)
}
// Settings {
// SettingsView()
// }
#endif
}
@ -52,18 +49,3 @@ struct MainApp: App {
AnyView(PDFViewer(pdfURL: url, viewModel: viewModel))
}
}
struct SettingsView: View {
var appVersion: String {
Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? ""
}
var body: some View {
VStack {
Text("Omnivore")
.font(.largeTitle)
Text("Omnivore Version: \(appVersion)")
}
.frame(width: 600, height: 600)
}
}