|
|
|
@ -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();
|
|
|
|
|