From 2899de2632ab4ee7d8a9c42009a7cbbe780c0cc7 Mon Sep 17 00:00:00 2001 From: Vladless Date: Wed, 4 Dec 2024 00:06:21 +0300 Subject: [PATCH] add button for MacOS --- handlers/instructions/instructions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/instructions/instructions.py b/handlers/instructions/instructions.py index dd7dc5dd..5109c6df 100644 --- a/handlers/instructions/instructions.py +++ b/handlers/instructions/instructions.py @@ -5,7 +5,7 @@ from aiogram import F, Router, types from aiogram.types import BufferedInputFile, InlineKeyboardButton from aiogram.utils.keyboard import InlineKeyboardBuilder -from config import CONNECT_WINDOWS, SUPPORT_CHAT_URL +from config import CONNECT_WINDOWS, SUPPORT_CHAT_URL, CONNECT_IOS from handlers.texts import INSTRUCTION_PC, INSTRUCTIONS, KEY_MESSAGE router = Router() @@ -58,6 +58,7 @@ async def process_connect_pc(callback_query: types.CallbackQuery, session: Any): builder = InlineKeyboardBuilder() builder.row(InlineKeyboardButton(text="💻 Подключить Windows", url=f"{CONNECT_WINDOWS}{key}")) + builder.row(InlineKeyboardButton(text="💻 Подключить MacOS", url=f"{CONNECT_IOS}{key}")) builder.row(InlineKeyboardButton(text="🆘 Поддержка", url=f"{SUPPORT_CHAT_URL}")) builder.row(InlineKeyboardButton(text="👤 Личный кабинет", callback_data="profile"))