diff --git a/Development Assets/Mastodon API Stubs/TimelinesEndpoint+Stubbing.swift b/Development Assets/Mastodon API Stubs/TimelinesEndpoint+Stubbing.swift index d4b35a7..66fad3b 100644 --- a/Development Assets/Mastodon API Stubs/TimelinesEndpoint+Stubbing.swift +++ b/Development Assets/Mastodon API Stubs/TimelinesEndpoint+Stubbing.swift @@ -9,6 +9,6 @@ import AppKit extension TimelinesEndpoint: Stubbing { func data(url: URL) -> Data? { - NSDataAsset(name: "TimelineJSON")!.data + NSDataAsset(name: "timelineJSON")!.data } } diff --git a/iOS/Views/StatusListView.swift b/iOS/Views/StatusListView.swift index 0251b81..e2cd891 100644 --- a/iOS/Views/StatusListView.swift +++ b/iOS/Views/StatusListView.swift @@ -13,3 +13,11 @@ struct StatusListView: UIViewControllerRepresentable { } } + +#if DEBUG +struct StatusListView_Previews: PreviewProvider { + static var previews: some View { + StatusListView(viewModel: .development) + } +} +#endif