import React, { useState } from 'react'; import { ChevronLeft, Bell, Globe, FileText, Info, ChevronRight, Bot } from 'lucide-react'; interface SettingsProps { onBack: () => void; } const Settings: React.FC = ({ onBack }) => { const [notifications, setNotifications] = useState({ push: true, aiMsg: true }); const toggleNotify = (key: keyof typeof notifications) => { setNotifications(prev => ({ ...prev, [key]: !prev[key] })); }; return (
{/* Header */}

系统设置

{/* Section 1: Notifications */}

通知推送

允许系统推送
AI 唤醒提醒

当角色主动发起对话时通知

{/* Section 2: App Preferences */}

通用偏好

语言 / Language
简体中文
{/* Section 4: About */}

关于

V
当前版本
v2.4.0 (8849)
); }; export default Settings;