diff --git a/lib/presentation/lab/lab_result_via_clinic/lab_order_result_item.dart b/lib/presentation/lab/lab_result_via_clinic/lab_order_result_item.dart index c6acb4f1..d3de245c 100644 --- a/lib/presentation/lab/lab_result_via_clinic/lab_order_result_item.dart +++ b/lib/presentation/lab/lab_result_via_clinic/lab_order_result_item.dart @@ -165,25 +165,22 @@ class LabOrderResultItem extends StatelessWidget { if (tests?.isLabTestAttachment ?? false) Flexible( flex: 2, - child: Visibility( - visible: tests?.checkIfGraphShouldBeDisplayed() == true, - child: CustomButton( - icon: AppAssets.document, - iconColor: AppColors.primaryRedColor, - iconSize: 16.h, - text: LocaleKeys.viewAttachment.tr(context: context), - onPressed: () async { - getIt.get().openLabResultsAttachmentSheet(labResult: tests!); - }, - backgroundColor: AppColors.primaryRedColor.withAlpha(20), - borderColor: AppColors.primaryRedColor.withAlpha(0), - textColor: AppColors.primaryRedColor, - fontSize: 13.f, - fontWeight: FontWeight.w600, - borderRadius: 12.r, - padding: EdgeInsets.fromLTRB(10, 0, 10, 0), - height: 40.h, - ), + child: CustomButton( + icon: AppAssets.document, + iconColor: AppColors.primaryRedColor, + iconSize: 16.h, + text: LocaleKeys.viewAttachment.tr(context: context), + onPressed: () async { + getIt.get().openLabResultsAttachmentSheet(labResult: tests!); + }, + backgroundColor: AppColors.primaryRedColor.withAlpha(20), + borderColor: AppColors.primaryRedColor.withAlpha(0), + textColor: AppColors.primaryRedColor, + fontSize: 13.f, + fontWeight: FontWeight.w600, + borderRadius: 12.r, + padding: EdgeInsets.fromLTRB(10, 0, 10, 0), + height: 40.h, ), ), ],