Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display snackbar when app update is available #559

Closed
wants to merge 11 commits into from
Prev Previous commit
Merge remote-tracking branch 'origin/main' into frem/upgrader
fremartini committed Dec 9, 2023
commit 9045e1d3796c652a9ad60758dfb8fac855b13571
3 changes: 2 additions & 1 deletion lib/features/ticket/presentation/pages/tickets_page.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:coffeecard/core/strings.dart';
import 'package:coffeecard/core/widgets/components/barista_perks_section.dart';
import 'package:coffeecard/core/widgets/components/scaffold.dart';
import 'package:coffeecard/features/product/domain/entities/purchasable_products.dart';
import 'package:coffeecard/features/ticket/presentation/widgets/shop_section.dart';
import 'package:coffeecard/features/ticket/presentation/widgets/tickets_section.dart';
import 'package:coffeecard/features/user/presentation/cubit/user_cubit.dart';
@@ -35,7 +36,7 @@ class TicketsPage extends StatelessWidget {
padding: const EdgeInsets.all(16.0),
children: [
const TicketSection(),
if (hasBaristaPerks) BaristaPerksSection(userRole: user.role),
if (perksAvailable) BaristaPerksSection(userRole: user.role),
const ShopSection(),
],
),
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.