mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
fix: block wheel spin without active subscription
- Add has_subscription to WheelConfig type - Disable spin button when user has no subscription - Add noSubscription guard in handleUnifiedSpin handler - Show warning banner directing user to activate subscription - Prevent banner stacking (noSubscription takes priority over daily limit) - Add noSubscription i18n keys for ru, en, zh, fa
This commit is contained in:
@@ -858,7 +858,8 @@
|
||||
"cannotSpin": "Cannot spin right now",
|
||||
"insufficientBalance": "Insufficient balance",
|
||||
"topUpRequired": "Top up your balance to pay for spin",
|
||||
"starsNotAvailable": "Stars payment not available. Open the app via Telegram."
|
||||
"starsNotAvailable": "Stars payment not available. Open the app via Telegram.",
|
||||
"noSubscription": "An active subscription is required to spin the wheel. Activate your subscription first."
|
||||
},
|
||||
"payWithStars": "Pay with Stars",
|
||||
"payWithDays": "Pay with days",
|
||||
|
||||
Reference in New Issue
Block a user