From 509ff8847bcfe64b5fd60d3c58bbe5ea6c06813b Mon Sep 17 00:00:00 2001 From: wangdl Date: Sat, 30 May 2026 10:33:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(ios):=20=E5=A4=8D=E4=B9=A0=E6=8F=90?= =?UTF-8?q?=E9=86=92=E5=BC=80=E5=85=B3=E5=88=87=E6=8D=A2=E9=93=83=E9=93=9B?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=EF=BC=88=E5=BC=80=3D=E5=93=8D=E9=93=83/?= =?UTF-8?q?=E5=85=B3=3D=E9=9D=99=E9=9F=B3=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../Assets.xcassets/Icons/icon-bell-off.imageset/Contents.json | 1 + .../Icons/icon-bell-off.imageset/icon-bell-off.svg | 1 + .../Assets.xcassets/Icons/icon-bell-on.imageset/Contents.json | 1 + .../Icons/icon-bell-on.imageset/icon-bell-on.svg | 1 + AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/Contents.json create mode 100644 AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/icon-bell-off.svg create mode 100644 AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/Contents.json create mode 100644 AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/icon-bell-on.svg diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/Contents.json new file mode 100644 index 0000000..0b35717 --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/Contents.json @@ -0,0 +1 @@ +{"images":[{"filename":"icon-bell-off.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"template-rendering-intent":"template","preserves-vector-representation":true}} diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/icon-bell-off.svg b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/icon-bell-off.svg new file mode 100644 index 0000000..b7fc059 --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/icon-bell-off.svg @@ -0,0 +1 @@ + diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/Contents.json new file mode 100644 index 0000000..9bedf78 --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/Contents.json @@ -0,0 +1 @@ +{"images":[{"filename":"icon-bell-on.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"template-rendering-intent":"template","preserves-vector-representation":true}} diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/icon-bell-on.svg b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/icon-bell-on.svg new file mode 100644 index 0000000..910d02a --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/icon-bell-on.svg @@ -0,0 +1 @@ + diff --git a/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift b/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift index 7de2b25..e8d474c 100644 --- a/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift +++ b/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift @@ -45,7 +45,7 @@ struct SettingsView: View { sectionHeader("复习提醒") VStack(spacing: 0) { - ZXSettingToggleRow(title: "开启复习提醒", icon: "bell.badge.fill", color: Color.zxF05, isOn: $reviewReminder) + ZXSettingToggleRow(title: "开启复习提醒", icon: reviewReminder ? "icon-bell-on" : "icon-bell-off", color: Color.zxF05, isOn: $reviewReminder, isCustom: true) if reviewReminder { ZXSettingDivider() ZXSettingPickerRow(title: "提醒时间", value: $reminderTime, options: ["08:00", "12:00", "18:00", "20:00", "21:00"])