mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:28:41 +00:00
fix plan limit
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run
This commit is contained in:
parent
085702c0bb
commit
52952babfc
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class _AdditionalUsersViewState extends State<AdditionalUsersView> {
|
||||||
|
|
||||||
final currentPlan = context.read<PurchasesProvider>().plan;
|
final currentPlan = context.read<PurchasesProvider>().plan;
|
||||||
if (currentPlan == SubscriptionPlan.Pro ||
|
if (currentPlan == SubscriptionPlan.Pro ||
|
||||||
currentPlan == SubscriptionPlan.Family) {
|
currentPlan == SubscriptionPlan.Tester) {
|
||||||
_planLimit = 1;
|
_planLimit = 1;
|
||||||
} else if (currentPlan == SubscriptionPlan.Family) {
|
} else if (currentPlan == SubscriptionPlan.Family) {
|
||||||
_planLimit = 4;
|
_planLimit = 4;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue