Skip to content

Commit

Permalink
Fix for Swift 5.5 / Xcode 13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
superKoder committed Dec 21, 2021
1 parent 3e93809 commit 9cd4128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hierarchy-List/ContentView-xcode-11.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct FileItem: Identifiable {
}

struct ContentView: View {
let data: [FileItem] = .spmData
let data: [FileItem] = FileItem.spmData

var body: some View {
// List(data, children: \.children, rowContent: { Text($0.name) })
Expand Down Expand Up @@ -87,4 +87,4 @@ struct FSDisclosureGroup<Label, Content>: View where Label: View, Content: View
content()
}
}
}
}

0 comments on commit 9cd4128

Please sign in to comment.