Update WebApp
This commit is contained in:
@@ -5,8 +5,8 @@ def main_keyboard(is_admin: bool = False, has_active_sub: bool = False) -> Inlin
|
||||
buttons = []
|
||||
|
||||
# Web App Button
|
||||
if CONFIG["BASE_URL"]:
|
||||
buttons.append([InlineKeyboardButton(text="🚀 Открыть приложение", web_app=WebAppInfo(url=CONFIG["BASE_URL"]))])
|
||||
if CONFIG["WEB_APP_URL"]:
|
||||
buttons.append([InlineKeyboardButton(text="🚀 Открыть приложение", web_app=WebAppInfo(url=CONFIG["WEB_APP_URL"]))])
|
||||
|
||||
# Если подписки нет (или истекла), показываем кнопку покупки на главном
|
||||
if not has_active_sub:
|
||||
|
||||
Reference in New Issue
Block a user