View Dr response fix

merge-update-with-lab-changes
haroon amjad 3 years ago
parent 66600fe66c
commit 5ddf8d4b7a

@ -210,7 +210,7 @@ class _ViewDoctorResponsesPageState extends State<ViewDoctorResponsesPage> {
child: DefaultButton( child: DefaultButton(
TranslationBase.of(context).submit, TranslationBase.of(context).submit,
() { () {
if (textController.text.isEmpty) { if (rate == 0 && textController.text.isEmpty) {
AppToast.showErrorToast(message: "Please enter comments"); AppToast.showErrorToast(message: "Please enter comments");
} else { } else {
rateDoctorResponse(); rateDoctorResponse();

Loading…
Cancel
Save