create home view that is the main tab view

This commit is contained in:
Trey t
2022-02-18 14:19:37 -06:00
parent 43bbaa4546
commit 065b7bcac1
6 changed files with 162 additions and 110 deletions

View File

@@ -7,7 +7,7 @@
import SwiftUI
struct EmptyContentView: View {
struct EmptyHomeView: View {
@AppStorage(UserDefaultsStore.Keys.theme.rawValue, store: GroupUserDefaults.groupDefaults) private var theme: Theme = .system
let viewModel: ContentModeViewModel
@@ -38,8 +38,8 @@ struct EmptyContentView: View {
}
}
struct EmptyContentView_Previews: PreviewProvider {
struct EmptyHomeView_Previews: PreviewProvider {
static var previews: some View {
EmptyContentView(viewModel: ContentModeViewModel())
EmptyHomeView(viewModel: ContentModeViewModel())
}
}