|
|
|
|
@ -90,7 +90,6 @@ class _BookConfirmState extends State<BookConfirm> {
|
|
|
|
|
null,
|
|
|
|
|
widget.doctor.noOfPatientsRate,
|
|
|
|
|
"",
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
|
isNeedToShowButton: false,
|
|
|
|
|
),
|
|
|
|
|
@ -201,7 +200,7 @@ class _BookConfirmState extends State<BookConfirm> {
|
|
|
|
|
disabledTextColor: Colors.white,
|
|
|
|
|
disabledColor: new Color(0xFFbcc2c4),
|
|
|
|
|
onPressed: () async {
|
|
|
|
|
if (!await this.sharedPref.getBool(IS_LIVECARE_APPOINTMENT)) {
|
|
|
|
|
if (await this.sharedPref.getBool(IS_LIVECARE_APPOINTMENT) != null && !await this.sharedPref.getBool(IS_LIVECARE_APPOINTMENT)) {
|
|
|
|
|
insertAppointment(context, widget.doctor);
|
|
|
|
|
} else {
|
|
|
|
|
insertLiveCareScheduledAppointment(context, widget.doctor);
|
|
|
|
|
|