From 0a0380983cd37287b7f746e9ad808b023428e198 Mon Sep 17 00:00:00 2001 From: Mark Turner Date: Sat, 16 Dec 2023 08:07:37 +1100 Subject: [PATCH] Remove preview provider. --- .vscode/settings.json | 2 +- Main/Sources/ContentView.swift | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1970744..3acd0c5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,7 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "[swift]": { diff --git a/Main/Sources/ContentView.swift b/Main/Sources/ContentView.swift index b2fc4f6..48523f1 100644 --- a/Main/Sources/ContentView.swift +++ b/Main/Sources/ContentView.swift @@ -5,7 +5,6 @@ import Inject #endif public struct ContentView: View { - public init() { } @@ -24,9 +23,3 @@ public struct ContentView: View { @ObserveInjection var inject #endif } - -struct ContentView_Previews: PreviewProvider { - static var previews: some View { - ContentView() - } -}