Skip to content

Commit

Permalink
fix(app): lonely asterisk showing in PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Dec 3, 2024
1 parent 1ff8441 commit 66819a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/lib/common/utilities/pdf_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,14 @@ String? _getPhenoconversionInfo(Drug drug, BuildContext context) {
final genotypeResults = drug.guidelineGenotypes.map((genotypeKey) =>
UserData.instance.genotypeResults![genotypeKey]!
).toList();
return '$drugInteractionIndicator ${inhibitionTooltipText(
final tooltipText = inhibitionTooltipText(
context,
genotypeResults,
drug: drug.name,
userFacing: false,
)}';
);
if (tooltipText.isBlank) return null;
return '$drugInteractionIndicator $tooltipText';
}

String? _getActivityScoreInfo(
Expand Down

0 comments on commit 66819a8

Please sign in to comment.