From 8c0fe0f697459a30b4fd1f52cf9517d7b7434b21 Mon Sep 17 00:00:00 2001 From: sultan khan Date: Wed, 1 Jan 2025 22:24:19 +0300 Subject: [PATCH] no message --- .../chief_complaint/widgets/ComplaintSelection.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/patients/profile/soap_update_vida_plus/subjective/chief_complaint/widgets/ComplaintSelection.dart b/lib/screens/patients/profile/soap_update_vida_plus/subjective/chief_complaint/widgets/ComplaintSelection.dart index 871537d5..34be694f 100644 --- a/lib/screens/patients/profile/soap_update_vida_plus/subjective/chief_complaint/widgets/ComplaintSelection.dart +++ b/lib/screens/patients/profile/soap_update_vida_plus/subjective/chief_complaint/widgets/ComplaintSelection.dart @@ -316,7 +316,7 @@ class _ComplaintSelectionState extends State { minHeight: 0, maxHeight: 300), child: - ListView.builder( + widget.searchData!.isNotEmpty ? ListView.builder( shrinkWrap: true, itemCount: widget.searchData!.length, itemBuilder: (context, index) { @@ -330,7 +330,7 @@ class _ComplaintSelectionState extends State { widget.onSave!(cc!); searchController.text =''; })); - }))), + }) : SizedBox()) ), ), SizedBox(