Temporarily disable previews (#661)

* Previews

* Temporarily disable.
This commit is contained in:
Max Goedjen
2025-09-03 01:11:55 -07:00
committed by GitHub
parent a4e1ab9eb6
commit 63a09390b8
7 changed files with 41 additions and 64 deletions

View File

@@ -146,6 +146,6 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View {
}
#Preview {
CreateSecretView(store: Preview.StoreModifiable()) { _ in }
}
//#Preview {
// CreateSecretView(store: Preview.StoreModifiable()) { _ in }
//}

View File

@@ -57,15 +57,10 @@ struct EmptyStoreModifiableView: View {
}
}
#if DEBUG
struct EmptyStoreModifiableView_Previews: PreviewProvider {
static var previews: some View {
Group {
EmptyStoreImmutableView()
EmptyStoreModifiableView()
}
}
#Preview {
EmptyStoreImmutableView()
}
#Preview {
EmptyStoreModifiableView()
}
#endif

View File

@@ -13,12 +13,7 @@ struct NoStoresView: View {
}
#if DEBUG
struct NoStoresView_Previews: PreviewProvider {
static var previews: some View {
NoStoresView()
}
#Preview {
NoStoresView()
}
#endif

View File

@@ -37,6 +37,6 @@ struct SecretDetailView<SecretType: Secret>: View {
}
#Preview {
SecretDetailView(secret: Preview.Secret(name: "Demonstration Secret"))
}
//#Preview {
// SecretDetailView(secret: Preview.Secret(name: "Demonstration Secret"))
//}