From 678211ed428dc836593f34c5f1f0917f4b676a6d Mon Sep 17 00:00:00 2001 From: raviramnani Date: Tue, 30 Jul 2024 15:15:07 +0530 Subject: [PATCH] Added check for number of tickets to be less than 1ooo in price_screen.dart --- evently/lib/screens/price_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evently/lib/screens/price_screen.dart b/evently/lib/screens/price_screen.dart index 267ad84545..d955b4570e 100644 --- a/evently/lib/screens/price_screen.dart +++ b/evently/lib/screens/price_screen.dart @@ -217,8 +217,8 @@ class _PriceScreenState extends State { isContinueEnable: provider.isFreeDrop == FreeDrop.unselected ? false : provider.isFreeDrop == FreeDrop.yes - ? provider.numberOfTickets > 0 - : provider.numberOfTickets > 0 && provider.price > 0, + ? (provider.numberOfTickets > 0 && provider.numberOfTickets <= 1000) + : (provider.numberOfTickets > 0 && provider.numberOfTickets <= 1000 && provider.price > 0), ), ) ],