chore: build
This commit is contained in:
@@ -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() {
|
||||
{/* ============================================ */}
|
||||
<View style={s.section}>
|
||||
<Text style={s.sectionTitle}>Notifications Telegram</Text>
|
||||
<View style={s.row}>
|
||||
<View style={s.rowLeft}>
|
||||
<Text style={s.rowLabel}>Notifications activées</Text>
|
||||
<Text style={s.rowDesc}>Envoyer les notifications via Telegram aux utilisateurs qui ont lié leur compte</Text>
|
||||
</View>
|
||||
<Switch
|
||||
value={settings.telegram_notifications_enabled}
|
||||
onValueChange={(v) => setSettings((prev) => ({ ...prev, telegram_notifications_enabled: v }))}
|
||||
trackColor={{ false: colors.border, true: colors.accent }}
|
||||
thumbColor="#fff"
|
||||
/>
|
||||
</View>
|
||||
<View style={{ paddingHorizontal: spacing.l, paddingBottom: spacing.l, gap: spacing.m }}>
|
||||
<Text style={s.rowDesc}>
|
||||
Configurez le bot Telegram pour envoyer des notifications aux utilisateurs qui ont lié leur compte.
|
||||
|
||||
Reference in New Issue
Block a user