|
|
|
|
@ -118,11 +118,11 @@ class AskDoctorPage extends StatelessWidget {
|
|
|
|
|
isAvailable = true;
|
|
|
|
|
} else {
|
|
|
|
|
isAvailable = false;
|
|
|
|
|
AppToast.showErrorToast(message: res['endUserMessage']);
|
|
|
|
|
AppToast.showErrorToast(message: res['endUserMessage'], localContext: context);
|
|
|
|
|
}
|
|
|
|
|
}).catchError((err) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
if (err != null) AppToast.showErrorToast(message: err.toString());
|
|
|
|
|
if (err != null) AppToast.showErrorToast(message: err.toString(), localContext: context);
|
|
|
|
|
print(err);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|