From 53df427fcb2d836a0ad4e807408cbf87120d78b0 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Wed, 23 Feb 2022 08:31:51 -0800 Subject: [PATCH] remove unused settings view --- apple/Sources/MainApp.swift | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/apple/Sources/MainApp.swift b/apple/Sources/MainApp.swift index 78536872c..9bf3d593c 100644 --- a/apple/Sources/MainApp.swift +++ b/apple/Sources/MainApp.swift @@ -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) - } -}