Skip to content

Commit

Permalink
feat(app): adapt tooltip texts
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Dec 10, 2024
1 parent 615d442 commit 07a15ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/lib/drug/widgets/tooltip_icon.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class TooltipIcon extends StatelessWidget {
return Tooltip(
key: tooltipKey,
message: message,
margin: EdgeInsets.symmetric(horizontal: PharMeTheme.smallSpace),
margin: EdgeInsets.symmetric(horizontal: PharMeTheme.smallToMediumSpace),
padding: EdgeInsets.all(PharMeTheme.smallSpace),
triggerMode: TooltipTriggerMode.manual,
child: SizedBox(
height: size,
Expand Down
4 changes: 2 additions & 2 deletions app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,11 @@
},
"gene_page_genotype": "Genotype",
"@gene_page_genotype": {},
"gene_page_genotype_tooltip": "The genotype is the variant you carry for this gene.",
"gene_page_genotype_tooltip": "The genotype tells you about your DNA and which version of a gene you have.\n\nYou carry two copies for one gene, called “alleles”, each inherited from one of your parents.",
"@gene_page_genotype_tooltip": {},
"gene_page_phenotype": "Phenotype",
"@gene_page_phenotype": {},
"gene_page_phenotype_tooltip": "The phenotype often describes the gene's activity level or whether a specific variant is present.",
"gene_page_phenotype_tooltip": "The phenotype describes how your DNA affects your body.\n\nIn pharmacogenomics, it usually shows if a gene version might cause a bad reaction to a medicine or how fast your body processes a drug.",
"@gene_page_phenotype_tooltip": {},
"gene_page_relevant_drugs": "Associated medications",
"@gene_page_relevant_drugs": {},
Expand Down

0 comments on commit 07a15ec

Please sign in to comment.