Skip to content

Commit

Permalink
feat(app): hide instruction for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Nov 28, 2024
1 parent 59b4b47 commit 06f0480
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions app/lib/common/widgets/drug_list/builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,19 @@ class DrugList extends HookWidget {
childrenPadding: EdgeInsets.zero,
children: allDrugsList,
),
if (!currentlyExpanded) Padding(
key: Key('other-hidden-instruction'),
padding: EdgeInsets.symmetric(horizontal: PharMeTheme.smallSpace),
child: Text(
context.l10n.search_page_expand_help(
otherDrugsHeaderText.toLowerCase(),
),
style: PharMeTheme.textTheme.bodySmall!.copyWith(
fontStyle: FontStyle.italic,
color: PharMeTheme.subheaderColor,
),
),
),
// if (!currentlyExpanded) Padding(
// key: Key('other-hidden-instruction'),
// padding: EdgeInsets.symmetric(horizontal: PharMeTheme.smallSpace),
// child: Text(
// context.l10n.search_page_expand_help(
// otherDrugsHeaderText.toLowerCase(),
// ),
// style: PharMeTheme.textTheme.bodySmall!.copyWith(
// fontStyle: FontStyle.italic,
// color: PharMeTheme.subheaderColor,
// ),
// ),
// ),
],
if (activeDrugsList == null) ...allDrugsList,
];
Expand Down

0 comments on commit 06f0480

Please sign in to comment.