diff --git a/app/integration_test/report_test.dart b/app/integration_test/report_test.dart index de202a81..6977fdcd 100644 --- a/app/integration_test/report_test.dart +++ b/app/integration_test/report_test.dart @@ -122,10 +122,6 @@ void main() { } final context = tester.element(find.byType(Scaffold).first); if (expectedNotTestedGenes.isNotEmpty) { - expect( - find.text(context.l10n.report_no_result_genes, skipOffstage: false), - findsOneWidget, - ); for (final gene in expectedNotTestedGenes) { final geneCardsFinder = findGeneCard(gene); expect( @@ -140,11 +136,6 @@ void main() { final geneCard = tester.widgetList(geneCardsFinder).last as GeneCard; expect(geneCard.color, PharMeTheme.onSurfaceColor); } - } else { - expect( - find.text(context.l10n.report_no_result_genes, skipOffstage: false), - findsNothing, - ); } } diff --git a/app/lib/common/widgets/drug_search/builder.dart b/app/lib/common/widgets/drug_search/builder.dart index 4cfcb50e..3360a974 100644 --- a/app/lib/common/widgets/drug_search/builder.dart +++ b/app/lib/common/widgets/drug_search/builder.dart @@ -34,11 +34,7 @@ class DrugSearch extends HookWidget { return Column( children: [ Padding( - padding: EdgeInsets.only( - left: PharMeTheme.smallSpace, - right: PharMeTheme.smallSpace, - bottom: PharMeTheme.smallSpace, - ), + padding: EdgeInsets.all(PharMeTheme.smallSpace), child: Row( crossAxisAlignment: CrossAxisAlignment.center, children: _buildSearchBarItems(context, searchController), diff --git a/app/lib/l10n/app_en.arb b/app/lib/l10n/app_en.arb index b90fbd55..b95c0fbf 100644 --- a/app/lib/l10n/app_en.arb +++ b/app/lib/l10n/app_en.arb @@ -292,8 +292,6 @@ } } }, - "report_no_result_genes": "Genes with no result", - "@report_no_result_genes": {}, "gene_page_headline": "{gene} report", "@gene_page_headline": {