diff --git a/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/Secretive.xcscheme b/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/Secretive.xcscheme
index 24a14c8..d3e5275 100644
--- a/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/Secretive.xcscheme
+++ b/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/Secretive.xcscheme
@@ -109,7 +109,7 @@
buildConfiguration = "Debug">
diff --git a/Sources/Secretive/Views/ContentView.swift b/Sources/Secretive/Views/ContentView.swift
index dfc6dff..4e78a5c 100644
--- a/Sources/Secretive/Views/ContentView.swift
+++ b/Sources/Secretive/Views/ContentView.swift
@@ -199,25 +199,16 @@ extension ContentView {
}
-#if DEBUG
-
-struct ContentView_Previews: PreviewProvider {
-
- static var previews: some View {
- Group {
- // Empty on modifiable and nonmodifiable
- ContentView(showingCreation: .constant(false), runningSetup: .constant(false), hasRunSetup: .constant(true))
- .environment(Preview.storeList(stores: [Preview.Store(numberOfRandomSecrets: 0)], modifiableStores: [Preview.StoreModifiable(numberOfRandomSecrets: 0)]))
- .environment(PreviewUpdater())
-
- // 5 items on modifiable and nonmodifiable
- ContentView(showingCreation: .constant(false), runningSetup: .constant(false), hasRunSetup: .constant(true))
- .environment(Preview.storeList(stores: [Preview.Store()], modifiableStores: [Preview.StoreModifiable()]))
- .environment(PreviewUpdater())
- }
-
- }
-}
-
-#endif
-
+//#Preview("Empty") {
+// // Empty on modifiable and nonmodifiable
+// ContentView(showingCreation: .constant(false), runningSetup: .constant(false), hasRunSetup: .constant(true))
+// .environment(Preview.storeList(stores: [Preview.Store(numberOfRandomSecrets: 0)], modifiableStores: [Preview.StoreModifiable(numberOfRandomSecrets: 0)]))
+// .environment(PreviewUpdater())
+//}
+//
+//#Preview("5 Items") {
+// // 5 items on modifiable and nonmodifiable
+// ContentView(showingCreation: .constant(false), runningSetup: .constant(false), hasRunSetup: .constant(true))
+// .environment(Preview.storeList(stores: [Preview.Store()], modifiableStores: [Preview.StoreModifiable()]))
+// .environment(PreviewUpdater())
+//}
diff --git a/Sources/Secretive/Views/CreateSecretView.swift b/Sources/Secretive/Views/CreateSecretView.swift
index b5f17b5..b9eefaa 100644
--- a/Sources/Secretive/Views/CreateSecretView.swift
+++ b/Sources/Secretive/Views/CreateSecretView.swift
@@ -132,5 +132,5 @@ struct CreateSecretView: View {
}
#Preview {
- CreateSecretView(store: Preview.StoreModifiable(), showing: .constant(true))
+// CreateSecretView(store: Preview.StoreModifiable(), showing: .constant(true))
}
diff --git a/Sources/Secretive/Views/SecretDetailView.swift b/Sources/Secretive/Views/SecretDetailView.swift
index 68a1e05..20b864b 100644
--- a/Sources/Secretive/Views/SecretDetailView.swift
+++ b/Sources/Secretive/Views/SecretDetailView.swift
@@ -37,12 +37,6 @@ struct SecretDetailView: View {
}
-#if DEBUG
-
-struct SecretDetailView_Previews: PreviewProvider {
- static var previews: some View {
- SecretDetailView(secret: Preview.Store(numberOfRandomSecrets: 1).secrets[0])
- }
+#Preview {
+// SecretDetailView(secret: Preview.Store(numberOfRandomSecrets: 1).secrets[0])
}
-
-#endif