Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

match ios terms icon with android style

Prateek Sunalf58740824d29
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/DescriptionIcon.imageset/Contents.json b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/DescriptionIcon.imageset/Contents.json
new file mode 100644
index 0000000000..946e99d9fb
--- /dev/null
+++ b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/DescriptionIcon.imageset/Contents.json
@@ -0,0 +1,16 @@
+{
+ "images" : [
+ {
+ "filename" : "DescriptionIcon.svg",
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ },
+ "properties" : {
+ "preserves-vector-representation" : true,
+ "template-rendering-intent" : "template"
+ }
+}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/DescriptionIcon.imageset/DescriptionIcon.svg b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/DescriptionIcon.imageset/DescriptionIcon.svg
new file mode 100644
index 0000000000..c485894647
--- /dev/null
+++ b/mobile/native/darwin/Apps/ensu/ensu/Assets.xcassets/DescriptionIcon.imageset/DescriptionIcon.svg
@@ -0,0 +1,6 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M14 2H6C4.89543 2 4 2.89543 4 4V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V8L14 2Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M14 2V8H20" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M8 12H16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
+ <path d="M8 16H16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
+</svg>
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift b/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift
index 8ec301dc3f..b29aefd120 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Settings/SettingsView.swift
@@ -124,7 +124,7 @@ struct SettingsView: View {
),
SettingsActionItem(
title: "Terms of Service",
- iconName: "LegalDocument01Icon",
+ iconName: "DescriptionIcon",
action: { openExternalLink("https://ente.io/terms") }
)
]