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))