This commit is contained in:
Trey t
2022-01-22 13:06:57 -06:00
parent 1b82f1d05e
commit 4486ed1306
2 changed files with 19 additions and 1 deletions

View File

@@ -170,7 +170,7 @@ struct ContentView: View {
BGView()
VStack{
settingsButtonView
if viewModel.shouldShowTodayInput() {
if viewModel.shouldShowTodayInput() && savedOnboardingData.ableToVoteBasedOnCurentTime() {
AddMoodHeaderView(addItemClosure: { (mood, date) in
withAnimation {
viewModel.add(mood: mood, forDate: date)