everything changed

This commit is contained in:
Trey t
2022-02-20 14:33:58 -06:00
parent 1cf38cb854
commit 0035f61204
50 changed files with 2155 additions and 875 deletions

View File

@@ -10,21 +10,21 @@ import SwiftUI
struct EmptyHomeView: View {
@AppStorage(UserDefaultsStore.Keys.theme.rawValue, store: GroupUserDefaults.groupDefaults) private var theme: Theme = .system
let viewModel: ContentModeViewModel
let viewModel: HomeViewViewModel
var body: some View {
ZStack {
Color(theme.currentTheme.secondaryBGColor)
theme.currentTheme.secondaryBGColor
VStack {
Text(String(localized: "content_view_empty_title"))
.font(.title)
.foregroundColor(Color(UIColor.label))
.foregroundColor(theme.currentTheme.labelColor)
.padding()
Text(String(localized: "content_view_empty_title"))
.font(.body)
.foregroundColor(Color(UIColor.label))
.foregroundColor(theme.currentTheme.labelColor)
.padding()
AddMoodHeaderView(addItemHeaderClosure: { (mood, date) in
withAnimation {
@@ -40,6 +40,6 @@ struct EmptyHomeView: View {
struct EmptyHomeView_Previews: PreviewProvider {
static var previews: some View {
EmptyHomeView(viewModel: ContentModeViewModel(addMonthStartWeekdayPadding: false))
EmptyHomeView(viewModel: HomeViewViewModel(addMonthStartWeekdayPadding: false))
}
}