Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Add preview access restricts
Browse files Browse the repository at this point in the history
  • Loading branch information
komkovla committed Jan 21, 2025
1 parent f83babb commit 5fb412b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ internal struct LayoutGuides: UIViewRepresentable {

#if DEBUG
@available(iOS 13.0, *)
struct Cell: View {
private struct Cell: View {
var value: String
var body: some View {
ZStack {
Expand All @@ -274,7 +274,7 @@ struct Cell: View {
}

@available(iOS 13.0, *)
struct ListTest: View {
private struct ListTest: View {
var body: some View {
List {
ForEach(0..<30) {
Expand All @@ -285,7 +285,7 @@ struct ListTest: View {
}

@available(iOS 13.0, *)
struct ScrollViewTest: View {
private struct ScrollViewTest: View {
var body: some View {
ScrollView {
VStack(spacing: 0) {
Expand All @@ -299,7 +299,7 @@ struct ScrollViewTest: View {

#if os(iOS)
@available(iOS 16.0, *)
struct SwiftUILayoutGuides_Previews: PreviewProvider {
internal struct SwiftUILayoutGuides_Previews: PreviewProvider {
static func sample<Content>(_ title: String, _ content: () -> Content) -> some View
where Content: View {
VStack(alignment: .leading) {
Expand Down

0 comments on commit 5fb412b

Please sign in to comment.