View Dr response fix

Dev_3.3_MedicalReportCR
haroon amjad 2 years ago
parent 66600fe66c
commit 5ddf8d4b7a

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

Loading…
Cancel
Save