diff --git a/handlers/keys/keys.py b/handlers/keys/keys.py index 5ecb0ea0..1ad8819d 100644 --- a/handlers/keys/keys.py +++ b/handlers/keys/keys.py @@ -574,14 +574,11 @@ async def process_callback_renew_plan(callback_query: types.CallbackQuery): balance = await get_balance(tg_id) if balance < cost: - replenish_button = types.InlineKeyboardButton( - text="Пополнить баланс", callback_data="replenish_balance" - ) - back_button = types.InlineKeyboardButton( - text="Назад", callback_data="view_profile" + view_profile = types.InlineKeyboardButton( + text="👤 Мой профиль", callback_data="view_profile" ) keyboard = types.InlineKeyboardMarkup( - inline_keyboard=[[replenish_button], [back_button]] + inline_keyboard=[[view_profile]] ) await bot.send_message( diff --git a/handlers/notifications.py b/handlers/notifications.py index 434ebead..3ee57d13 100644 --- a/handlers/notifications.py +++ b/handlers/notifications.py @@ -104,12 +104,6 @@ async def notify_10h_keys( callback_data=f'renew_key|{record["client_id"]}', ) ], - [ - types.InlineKeyboardButton( - text="💳 Пополнить баланс", - callback_data="replenish_balance", - ) - ], [ types.InlineKeyboardButton( text="👤 Мой профиль", callback_data="view_profile" @@ -182,12 +176,6 @@ async def notify_24h_keys( callback_data=f'renew_key|{record["client_id"]}', ) ], - [ - types.InlineKeyboardButton( - text="💳 Пополнить баланс", - callback_data="replenish_balance", - ) - ], [ types.InlineKeyboardButton( text="👤 Мой профиль", callback_data="view_profile"