diff --git a/Layout/ContentView.swift b/Layout/ContentView.swift index 476428f..c46bc00 100644 --- a/Layout/ContentView.swift +++ b/Layout/ContentView.swift @@ -52,7 +52,6 @@ struct ContentView: View { _syncPipeline = StateObject(wrappedValue: FileSyncPipeline( buildService: bs, gitService: gitService, gitStore: placeholderStore)) - gitStore: store)) } var body: some View { diff --git a/PadXcodeApp.swift b/PadXcodeApp.swift index 7d5ab6e..958c773 100644 --- a/PadXcodeApp.swift +++ b/PadXcodeApp.swift @@ -16,15 +16,13 @@ struct PadXcodeApp: App { init() { let config = DaemonConfiguration() let store = GitStore() - let apiKey = UserDefaults.standard.string(forKey: "workingCopyAPIKey") ?? "" - _daemonConfig = StateObject(wrappedValue: config) _projectStore = StateObject(wrappedValue: ProjectStore()) _editorState = StateObject(wrappedValue: EditorState()) _gitStore = StateObject(wrappedValue: store) _lspClient = StateObject(wrappedValue: LSPClient(config: config)) - gitService = GitService(apiKey: apiKey) + gitService = GitService() gitCallbackHandler = GitCallbackHandler(store: store) } diff --git a/Settings/SettingsView.swift b/Settings/SettingsView.swift index d2608f0..a4da039 100644 --- a/Settings/SettingsView.swift +++ b/Settings/SettingsView.swift @@ -21,7 +21,6 @@ struct SettingsView: View { case .untested: return "Not tested" case .testing: return "Testing..." case .success: return "Connected ✓" - case .success: return "Connected checkmark" case .failure(let m): return "Failed: \(m)" } } diff --git a/Theme/PadXcodeTheme.swift b/Theme/PadXcodeTheme.swift index 4fa9cc0..6a64e63 100644 --- a/Theme/PadXcodeTheme.swift +++ b/Theme/PadXcodeTheme.swift @@ -12,10 +12,6 @@ final class PadXcodeTheme: Theme { var font: UIFont { UIFont.monospacedSystemFont(ofSize: fontSize, weight: .regular) - // MARK: Required visual properties - - var font: UIFont { - UIFont.monospacedSystemFont(ofSize: 14, weight: .regular) } var textColor: UIColor { @@ -145,10 +141,6 @@ final class PadXcodeLightTheme: Theme { var font: UIFont { UIFont.monospacedSystemFont(ofSize: fontSize, weight: .regular) - // MARK: Required visual properties - - var font: UIFont { - UIFont.monospacedSystemFont(ofSize: 14, weight: .regular) } var textColor: UIColor {