feat(ios): 学习方法偏好图标替换

This commit is contained in:
wangdl 2026-05-30 10:39:31 +08:00
parent 0ba5401c82
commit 18b0d1f4b2
3 changed files with 18 additions and 1 deletions

View File

@ -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
}
}

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" fill="#000" d="M10.68 8.94C7.58494 10.4649 5.51259 13.5532 5.51259 17.051L3.11259 17.051C3.11259 12.6017 5.60873 8.68643 9.40865 6.59431L10.68 8.94ZM21.5379 17.051C21.5379 13.5532 19.4656 10.4649 16.3706 8.94L17.6419 6.59431C21.4418 8.68643 23.9379 12.6017 23.9379 17.051L21.5379 17.051ZM10.8611 25.1918C12.0295 25.9695 13.4259 26.4257 14.9213 26.4257C16.4167 26.4257 17.8132 25.9695 18.9815 25.1918L20.0014 26.8778C18.5725 27.8422 16.8414 28.4117 14.9213 28.4117C13.0012 28.4117 11.2701 27.8422 9.84119 26.8778L10.8611 25.1918Z" fill="rgba(174,174,174,1)"></path><path fill-rule="evenodd" fill="#000" d="M14.8911 5.04874C13.2257 5.04874 11.8743 6.40012 11.8743 8.06549C11.8743 9.73086 13.2257 11.0822 14.8911 11.0822C16.5565 11.0822 17.9079 9.73086 17.9079 8.06549C17.9079 6.40012 16.5565 5.04874 14.8911 5.04874ZM9.97431 8.06549C9.97431 5.35007 12.1757 3.14874 14.8911 3.14874C17.6065 3.14874 19.8079 5.35007 19.8079 8.06549C19.8079 10.7809 17.6065 12.9822 14.8911 12.9822C12.1757 12.9822 9.97431 10.7809 9.97431 8.06549Z" fill="rgba(21,21,21,1)"></path><path fill-rule="evenodd" fill="#000" d="M25.2976 24.4878C26.128 22.9925 25.6265 21.1096 24.1313 20.2796C22.6361 19.4497 20.7531 19.9512 19.9227 21.4464C19.0923 22.9416 19.5938 24.8245 21.089 25.6545C22.5842 26.4844 24.4672 25.983 25.2976 24.4878ZM25.1228 18.4126C27.6551 19.8746 28.5256 23.0584 27.0635 25.5908C25.6014 28.1231 22.4177 28.9936 19.8854 27.5316C17.3531 26.0695 16.4826 22.8858 17.9447 20.3535C19.4068 17.8212 22.5905 16.9507 25.1228 18.4126Z" fill="rgba(21,21,21,1)"></path><path fill-rule="evenodd" fill="#000" d="M5.07813 24.4878C5.9085 22.9925 5.40704 21.1096 3.91183 20.2796C2.41662 19.4497 0.53369 19.9512 -0.296683 21.4464C-1.12706 22.9416 -0.625597 24.8245 0.869611 25.6545C2.36482 26.4844 4.24775 25.983 5.07813 24.4878ZM4.90333 18.4126C7.43562 19.8746 8.30618 23.0584 6.84411 25.5908C5.38204 28.1231 2.19829 28.9936 -0.334006 27.5316C-2.8663 26.0695 -3.73686 22.8858 -2.2748 20.3535C-0.812729 17.8212 2.37103 16.9507 4.90333 18.4126Z" fill="rgba(21,21,21,1)"></path></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -37,7 +37,7 @@ struct SettingsView: View {
}.foregroundColor(.primary) }.foregroundColor(.primary)
ZXSettingDivider() ZXSettingDivider()
NavigationLink(value: Route.methodPreference) { 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) }.foregroundColor(.primary)
} }
.background(Color.zxFill004).clipShape(RoundedRectangle(cornerRadius: 20)) .background(Color.zxFill004).clipShape(RoundedRectangle(cornerRadius: 20))