Update update_subscription user

This commit is contained in:
Zakhar Izmaylov
2025-01-05 23:24:01 +03:00
parent 93ac01592f
commit 080a99cd55
+8 -9
View File
@@ -190,6 +190,13 @@ async def process_callback_view_key(callback_query: types.CallbackQuery, session
builder = InlineKeyboardBuilder()
builder.row(
InlineKeyboardButton(
text="🔄 Обновить подписку",
callback_data=f"update_subscription|{key_name}",
)
)
builder.row(
InlineKeyboardButton(text="🍏 Скачать для iOS", url=DOWNLOAD_IOS),
InlineKeyboardButton(
@@ -222,15 +229,7 @@ async def process_callback_view_key(callback_query: types.CallbackQuery, session
InlineKeyboardButton(
text="❌ Удалить", callback_data=f"delete_key|{key_name}"
),
)
if not key.startswith(PUBLIC_LINK):
builder.row(
InlineKeyboardButton(
text="🔄 Обновить подписку",
callback_data=f"update_subscription|{key_name}",
)
)
)
builder.row(
InlineKeyboardButton(text="👤 Личный кабинет", callback_data="profile")