fix: enhance insufficient funds message and update subscription controls logic
This commit is contained in:
@@ -149,7 +149,7 @@ async def sub_info(
|
||||
deps.user_service.format_subscription_message(
|
||||
rw_user, link=user.subscription_link, autorenew=sub.autorenew
|
||||
),
|
||||
reply_markup=subscription_controls(sub.autorenew),
|
||||
reply_markup=subscription_controls(show_autorenew=bool(rw_user), current_autorenewal_status=sub.autorenew),
|
||||
)
|
||||
|
||||
|
||||
@@ -183,5 +183,5 @@ async def toggle_autorenewal(
|
||||
deps.user_service.format_subscription_message(
|
||||
rw_user, link=user.subscription_link, autorenew=sub.autorenew
|
||||
),
|
||||
reply_markup=subscription_controls(sub.autorenew),
|
||||
reply_markup=subscription_controls(show_autorenew=bool(rw_user), current_autorenewal_status=sub.autorenew),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user