Skip to content

Commit

Permalink
Minor fixes for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
hsradA23 committed Jul 15, 2023
1 parent 815d4a5 commit ec84423
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class _ProductQueryPageState extends State<ProductQueryPage>
: MainAxisAlignment.center,
children: <Widget>[
Padding(
padding: const EdgeInsets.symmetric(vertical: 5),
padding: const EdgeInsets.symmetric(vertical: 5.0),
child: RankingFloatingActionButton(
onPressed: () => Navigator.push<Widget>(
context,
Expand Down Expand Up @@ -538,7 +538,9 @@ class _AppBarTitle extends StatelessWidget {
Navigator.of(context).pop(ProductQueryPageResult.editProductQuery);
},
child: Tooltip(
message: appLocalizations.tap_to_edit_search, child: child));
message: appLocalizations.tap_to_edit_search,
child: child,
));
} else {
return child;
}
Expand Down
11 changes: 6 additions & 5 deletions packages/smooth_app/lib/pages/product/summary_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,12 @@ class _SummaryCardState extends State<SummaryCard> {
localizations.product_search_same_category,
iconData: Icons.leaderboard,
onPressed: () async => ProductQueryPageHelper().openBestChoice(
name: categoryLabel!,
localDatabase: _localDatabase,
productQuery: CategoryProductQuery(categoryTag!),
context: context,
searchResult: false),
name: categoryLabel!,
localDatabase: _localDatabase,
productQuery: CategoryProductQuery(categoryTag!),
context: context,
searchResult: false,
),
),
);
}
Expand Down

0 comments on commit ec84423

Please sign in to comment.