From 18b0d1f4b25ad44ecd4820e21a82709361995aad Mon Sep 17 00:00:00 2001 From: wangdl Date: Sat, 30 May 2026 10:39:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(ios):=20=E5=AD=A6=E4=B9=A0=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=81=8F=E5=A5=BD=E5=9B=BE=E6=A0=87=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Icons/icon-method.imageset/Contents.json | 16 ++++++++++++++++ .../Icons/icon-method.imageset/icon-method.svg | 1 + .../Features/Profile/SettingsView.swift | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/Contents.json create mode 100644 AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/icon-method.svg diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/Contents.json new file mode 100644 index 0000000..c92458a --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/Contents.json @@ -0,0 +1,16 @@ +{ + "images": [ + { + "filename": "icon-method.svg", + "idiom": "universal" + } + ], + "info": { + "author": "xcode", + "version": 1 + }, + "properties": { + "template-rendering-intent": "template", + "preserves-vector-representation": true + } +} \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/icon-method.svg b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/icon-method.svg new file mode 100644 index 0000000..7c6679e --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-method.imageset/icon-method.svg @@ -0,0 +1 @@ + diff --git a/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift b/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift index 175ccd5..1c630dc 100644 --- a/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift +++ b/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift @@ -37,7 +37,7 @@ struct SettingsView: View { }.foregroundColor(.primary) ZXSettingDivider() NavigationLink(value: Route.methodPreference) { - ZXSettingRow(title: "学习方法偏好", value: "间隔回忆 · 费曼技巧", icon: "brain.head.profile", color: Color.zxF05) + ZXSettingRow(title: "学习方法偏好", value: "间隔回忆 · 费曼技巧", icon: "icon-method", isCustom: true, color: Color.zxF05) }.foregroundColor(.primary) } .background(Color.zxFill004).clipShape(RoundedRectangle(cornerRadius: 20))