diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-agreement.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-agreement.imageset/Contents.json index 3f64d92..c85150f 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-agreement.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-agreement.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file 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 index 390b192..39085b4 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-off.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file 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 index 7c63676..032dbbe 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-bell-on.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/Contents.json index 96434c0..562a433 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/Contents.json index acc1916..23a5599 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-left.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-left.imageset/Contents.json index 120ce6e..40b0d6b 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-left.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-left.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-right.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-right.imageset/Contents.json index 119ab98..db5c32b 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-right.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-chevron-right.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-cloud.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-cloud.imageset/Contents.json new file mode 100644 index 0000000..194773e --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-cloud.imageset/Contents.json @@ -0,0 +1,16 @@ +{ + "images": [ + { + "filename": "icon-cloud.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-cloud.imageset/icon-cloud.svg b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-cloud.imageset/icon-cloud.svg new file mode 100644 index 0000000..b774a33 --- /dev/null +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-cloud.imageset/icon-cloud.svg @@ -0,0 +1 @@ + diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-download.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-download.imageset/Contents.json index 9a6649c..0861775 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-download.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-download.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-goal.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-goal.imageset/Contents.json index 91a3f3d..6c2dce5 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-goal.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-goal.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-help.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-help.imageset/Contents.json index 075f23c..703068e 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-help.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-help.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-language.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-language.imageset/Contents.json index 708f57d..e1050ff 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-language.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-language.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/Contents.json index 478b935..f96ae94 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-moon.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-moon.imageset/Contents.json index 24cb65f..8d28367 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-moon.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-moon.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-notifications.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-notifications.imageset/Contents.json index a391d6b..c46dd0e 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-notifications.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-notifications.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-pause.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-pause.imageset/Contents.json index 966f463..25fa08d 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-pause.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-pause.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-play.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-play.imageset/Contents.json index a9ff9ce..622322f 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-play.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-play.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-plus.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-plus.imageset/Contents.json index 1eb2427..0dd2e88 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-plus.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-plus.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-privacy.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-privacy.imageset/Contents.json index 1177aa7..5f6ffc0 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-privacy.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-privacy.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-search.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-search.imageset/Contents.json index df5f365..af2006e 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-search.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-search.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-settings.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-settings.imageset/Contents.json index 580f4bf..ca9597c 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-settings.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-settings.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-sun.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-sun.imageset/Contents.json index 27675ab..21c0098 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-sun.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-sun.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/Contents.json index c93b66d..d1f3c46 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-upload.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-upload.imageset/Contents.json index 4111286..dce2689 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-upload.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-upload.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis-active.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis-active.imageset/Contents.json index 98508eb..1798637 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis-active.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis-active.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis.imageset/Contents.json index 9397ff4..58d0909 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-analysis.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn-active.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn-active.imageset/Contents.json index 56565dd..5e24dba 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn-active.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn-active.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn.imageset/Contents.json index 6d9a7b2..638c8fc 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-learn.imageset/Contents.json @@ -8,5 +8,9 @@ "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/tab-library-active.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-library-active.imageset/Contents.json index b317d0e..adcf0f2 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-library-active.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-library-active.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-library.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-library.imageset/Contents.json index 5934ac0..414b33c 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-library.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-library.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile-active.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile-active.imageset/Contents.json index 79f7dce..ffebdd2 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile-active.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile-active.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile.imageset/Contents.json b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile.imageset/Contents.json index 0f5e87d..682b009 100644 --- a/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile.imageset/Contents.json +++ b/AIStudyApp/AIStudyApp/Assets.xcassets/Icons/tab-profile.imageset/Contents.json @@ -10,6 +10,7 @@ "version": 1 }, "properties": { - "preserves-vector-representation": true + "preserves-vector-representation": true, + "template-rendering-intent": "template" } } \ No newline at end of file diff --git a/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift b/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift index e8d474c..175ccd5 100644 --- a/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift +++ b/AIStudyApp/AIStudyApp/Features/Profile/SettingsView.swift @@ -58,7 +58,7 @@ struct SettingsView: View { sectionHeader("数据") VStack(spacing: 0) { - ZXSettingToggleRow(title: "iCloud 同步", icon: "icon-upload", color: Color.zxF05, isOn: $iCloudSync, isCustom: true) + ZXSettingToggleRow(title: "iCloud 同步", icon: "icon-cloud", color: Color.zxF05, isOn: $iCloudSync, isCustom: true) } .background(Color.zxFill004).clipShape(RoundedRectangle(cornerRadius: 20)) .overlay(RoundedRectangle(cornerRadius: 20).stroke(Color.zxBorder006, lineWidth: 1))