Skip to content

Commit

Permalink
fix: add missing coupon tick svg
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoNish committed Sep 23, 2023
1 parent 0d11b78 commit d6b35af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions assets/icons/coupon_taken_tick.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion lib/presentation/week_menu/components/DayMenu/menu_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ class FeedbackAndCouponWidget extends StatelessWidget {
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(6)),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
mainAxisAlignment: (coupon && taken)
? MainAxisAlignment.spaceBetween
: MainAxisAlignment.center,
children: [
if (coupon && taken) ...[
SvgPicture.asset('assets/icons/coupon_taken_tick.svg')
Expand Down

0 comments on commit d6b35af

Please sign in to comment.