diff --git a/handlers/keys/keys.py b/handlers/keys/keys.py index 8db9f50b..eb039ff2 100644 --- a/handlers/keys/keys.py +++ b/handlers/keys/keys.py @@ -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")