Skip to content

Commit

Permalink
Merge branch 'empty-product-added-to-history' of https://github.com/A…
Browse files Browse the repository at this point in the history
…shAman999/smooth-app into empty-product-added-to-history
  • Loading branch information
AshAman999 committed Nov 4, 2022
2 parents 6afc759 + 1ec36d1 commit 8196f66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ dependency_overrides:

flutter:
generate: true
uses-material-design: true
uses-material-design: true
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class SmoothBackButton extends StatelessWidget {
ConstantIcons.instance.getBackIcon(),
color: iconColor ??
(Theme.of(context).colorScheme.brightness == Brightness.light
? Colors.white
: Colors.black),
? Colors.black
: Colors.white),
),
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class _ProductPageState extends State<ProductPage> with TraceableClientMixin {
),
child: Offstage(
offstage: !scrollingUp,
child: const SmoothBackButton(),
child: const SmoothBackButton(iconColor: Colors.white),
),
),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class _ProductImageGalleryViewState extends State<ProductImageGalleryView> {
allProductImagesData,
allProductImagesData.map(_provideImage),
);

return SmoothScaffold(
appBar: SmoothAppBar(
title: widget.product.productName != null
Expand Down

0 comments on commit 8196f66

Please sign in to comment.