From a4f3497a78d8a7fd187c269f4bd800c26f4aac58 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Sun, 3 May 2026 12:14:29 +0200 Subject: [PATCH] chore: build --- frontend-admin/src/screens/admin/SettingsScreen.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frontend-admin/src/screens/admin/SettingsScreen.tsx b/frontend-admin/src/screens/admin/SettingsScreen.tsx index 787d45a7..0e792e32 100644 --- a/frontend-admin/src/screens/admin/SettingsScreen.tsx +++ b/frontend-admin/src/screens/admin/SettingsScreen.tsx @@ -676,6 +676,7 @@ export default function SettingsScreen() { nowpayments_currencies: [], telegram_bot_token: "", telegram_bot_username: "", + telegram_notifications_enabled: false, delivery_mode: { mode: "single" as const, category_routes: [] }, }); const [showApiKey, setShowApiKey] = useState(false); @@ -1399,6 +1400,18 @@ export default function SettingsScreen() { {/* ============================================ */} Notifications Telegram + + + Notifications activées + Envoyer les notifications via Telegram aux utilisateurs qui ont lié leur compte + + setSettings((prev) => ({ ...prev, telegram_notifications_enabled: v }))} + trackColor={{ false: colors.border, true: colors.accent }} + thumbColor="#fff" + /> + Configurez le bot Telegram pour envoyer des notifications aux utilisateurs qui ont lié leur compte.