diff --git a/lib/pages/medical/eye/EyeHomePage.dart b/lib/pages/medical/eye/EyeHomePage.dart index 4a0c5ecc..576e4bbf 100644 --- a/lib/pages/medical/eye/EyeHomePage.dart +++ b/lib/pages/medical/eye/EyeHomePage.dart @@ -71,7 +71,7 @@ class _EyeHomePageState extends State with SingleTickerProviderStat widget.appointmentAllHistoryResultList!.doctorTitle! + " " + widget.appointmentAllHistoryResultList!.doctorNameObj!, widget.appointmentAllHistoryResultList!.doctorID!, widget.appointmentAllHistoryResultList!.doctorImageURL!, - widget.appointmentAllHistoryResultList!.doctorSpeciality!, + widget.appointmentAllHistoryResultList!.doctorSpeciality !=null ? widget.appointmentAllHistoryResultList!.doctorSpeciality! : [], "", widget.appointmentAllHistoryResultList!.projectName!, DateUtil.convertStringToDate(widget.appointmentAllHistoryResultList!.appointmentDate!), diff --git a/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart b/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart index 1077fd05..279775f5 100644 --- a/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart +++ b/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart @@ -39,7 +39,7 @@ class _AddBloodSugarPageState extends State { DateTime bloodSugarDate = DateTime.now(); DateTime timeSugarDate = DateTime.now(); String measureUnitSelectedType = 'mg/dlt'; - int measuredTime = 1; + int measuredTime = 9; bool isButtonDisabled = true; int _selectedMeasureUnitIndex = 0; @@ -68,7 +68,7 @@ class _AddBloodSugarPageState extends State { "صائم", "آخر", ]; - int? _selectedMeasureTimeIndex; + int? _selectedMeasureTimeIndex =9; String? measureTimeSelectedType; @override