diff --git a/Sources/AllInApp/AllIn/Views/CreationBetView.swift b/Sources/AllInApp/AllIn/Views/CreationBetView.swift index 38ca381..c553e49 100644 --- a/Sources/AllInApp/AllIn/Views/CreationBetView.swift +++ b/Sources/AllInApp/AllIn/Views/CreationBetView.swift @@ -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)