mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove unused settings view
This commit is contained in:
parent
a8762c5be6
commit
53df427fcb
1 changed files with 0 additions and 18 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue