fixes
This commit is contained in:
parent
206bda4ff4
commit
30288da817
4 changed files with 1 additions and 13 deletions
|
|
@ -52,7 +52,6 @@ struct ContentView: View {
|
|||
_syncPipeline = StateObject(wrappedValue: FileSyncPipeline(
|
||||
buildService: bs, gitService: gitService,
|
||||
gitStore: placeholderStore))
|
||||
gitStore: store))
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue