diff --git a/app/lib/widget/addWeightDialog.dart b/app/lib/widget/addWeightDialog.dart index d011222..14e0858 100644 --- a/app/lib/widget/addWeightDialog.dart +++ b/app/lib/widget/addWeightDialog.dart @@ -72,7 +72,7 @@ Future showAddWeightDialog({ final DateTime? date = await showDatePicker( context: context, initialDate: currentDate, - firstDate: DateTime(currentDate.year - 2), + firstDate: DateTime.fromMillisecondsSinceEpoch(0), lastDate: DateTime.now(), ); if (date == null) {