Compare commits

...

1 Commits

Author SHA1 Message Date
Lucas DELANIER 42e515de29 limit the minimal date
11 months ago

@ -191,7 +191,7 @@ struct CreationBetView: View {
DatePicker(
"",
selection: $viewModel.endRegisterDate,
in: dateRange,
in: Date()...,
displayedComponents: [.date, .hourAndMinute]
)
.accentColor(AllInColors.lightPurpleColor)
@ -229,7 +229,7 @@ struct CreationBetView: View {
DatePicker(
"",
selection: $viewModel.endBetDate,
in: dateRange,
in: viewModel.endRegisterDate...,
displayedComponents: [.date, .hourAndMinute]
)
.accentColor(AllInColors.lightPurpleColor)

Loading…
Cancel
Save