Fix previews
This commit is contained in:
parent
ea6b1edd3d
commit
d2e84c984c
|
@ -9,6 +9,6 @@ import AppKit
|
|||
|
||||
extension TimelinesEndpoint: Stubbing {
|
||||
func data(url: URL) -> Data? {
|
||||
NSDataAsset(name: "TimelineJSON")!.data
|
||||
NSDataAsset(name: "timelineJSON")!.data
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,3 +13,11 @@ struct StatusListView: UIViewControllerRepresentable {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct StatusListView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
StatusListView(viewModel: .development)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue