diff --git a/lib/screens/patients/profile/lab_result/all_lab_special_result_page.dart b/lib/screens/patients/profile/lab_result/all_lab_special_result_page.dart index 6dfe77b0..0f550191 100644 --- a/lib/screens/patients/profile/lab_result/all_lab_special_result_page.dart +++ b/lib/screens/patients/profile/lab_result/all_lab_special_result_page.dart @@ -88,6 +88,9 @@ class _AllLabSpecialResultState extends State { ], ), ), + if(model.allSpecialLabList.length == 0) + ErrorMessage(error: TranslationBase.of(context).noItem), + if(model.allSpecialLabList.length > 0) ListView.builder( physics: NeverScrollableScrollPhysics(), itemCount: model.allSpecialLabList.length, diff --git a/lib/screens/patients/profile/notes/note/progress_note_screen.dart b/lib/screens/patients/profile/notes/note/progress_note_screen.dart index ae6681e7..b8220939 100644 --- a/lib/screens/patients/profile/notes/note/progress_note_screen.dart +++ b/lib/screens/patients/profile/notes/note/progress_note_screen.dart @@ -88,16 +88,7 @@ class _ProgressNoteState extends State { patient, isInpatient: true, ), - body: model.patientProgressNoteList == null || - model.patientProgressNoteList.length == 0 - ? widget.visitType == 3 - ? ErrorMessage( - error: TranslationBase.of(context).errorNoOrders, - ) - : ErrorMessage( - error: TranslationBase.of(context).errorNoProgressNote, - ) - : Container( + body: Container( color: Colors.grey[200], child: Column( children: [ diff --git a/lib/widgets/shared/buttons/app_buttons_widget.dart b/lib/widgets/shared/buttons/app_buttons_widget.dart index 5f2d3faf..395a8cd2 100644 --- a/lib/widgets/shared/buttons/app_buttons_widget.dart +++ b/lib/widgets/shared/buttons/app_buttons_widget.dart @@ -54,12 +54,12 @@ class _AppButtonState extends State { Widget build(BuildContext context) { if (widget.fontSize == null) { widget.fontSize = SizeConfig.getHeightMultiplier() * - (SizeConfig.isHeightVeryShort ? 1.3 : 1.7); + (SizeConfig.isHeightVeryShort ? 2.1 :SizeConfig.isHeightShort?1.8: 1.7); } return Container( // height: MediaQuery.of(context).size.height * 0.075, height: widget.height?? SizeConfig.heightMultiplier * - (SizeConfig.isHeightVeryShort ? 6 : 5), + (SizeConfig.isHeightVeryShort ? 6 :SizeConfig.isHeightShort?5.5: 5), child: IgnorePointer( ignoring: widget.loading || widget.disabled, child: RawMaterialButton(