1
0
mirror of https://github.com/metabolist/metatext synced 2025-01-22 23:41:38 +01:00
metatext-app-ios-iphone-ipad/Views/StatusListView.swift
Justin Mazzocchi a729058add
Renaming
2020-09-09 16:00:10 -07:00

27 lines
678 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import SwiftUI
import ViewModels
struct StatusListView: UIViewControllerRepresentable {
let viewModel: StatusListViewModel
func makeUIViewController(context: Context) -> StatusListViewController {
StatusListViewController(viewModel: viewModel)
}
func updateUIViewController(_ uiViewController: StatusListViewController, context: Context) {
}
}
#if DEBUG
import PreviewViewModels
struct StatusListView_Previews: PreviewProvider {
static var previews: some View {
StatusListView(viewModel: NavigationViewModel(identification: .preview).viewModel(timeline: .home))
}
}
#endif