changeset 41:7703c122ce96

Add Terms of Use link
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 25 Jul 2021 10:59:51 +0100
parents db607a20769a
children d25b02d439d4
files Simoleon.xcodeproj/project.pbxproj Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate Simoleon/Localisation/en.xcloc/Source Contents/Simoleon/en.lproj/Localizable.strings Simoleon/Localisation/en.xcloc/Source Contents/Simoleon/es.lproj/Localizable.strings Simoleon/Settings.swift
diffstat 5 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Simoleon.xcodeproj/project.pbxproj	Sat Jul 24 23:57:07 2021 +0100
+++ b/Simoleon.xcodeproj/project.pbxproj	Sun Jul 25 10:59:51 2021 +0100
@@ -707,7 +707,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_ENTITLEMENTS = Simoleon/Simoleon.entitlements;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 10;
+				CURRENT_PROJECT_VERSION = 11;
 				DEVELOPMENT_ASSET_PATHS = "\"Simoleon/Preview Content\"";
 				DEVELOPMENT_TEAM = MTX83R5H8X;
 				ENABLE_PREVIEWS = YES;
@@ -732,7 +732,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_ENTITLEMENTS = Simoleon/Simoleon.entitlements;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 10;
+				CURRENT_PROJECT_VERSION = 11;
 				DEVELOPMENT_ASSET_PATHS = "\"Simoleon/Preview Content\"";
 				DEVELOPMENT_TEAM = MTX83R5H8X;
 				ENABLE_PREVIEWS = YES;
Binary file Simoleon.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
Binary file Simoleon/Localisation/en.xcloc/Source Contents/Simoleon/en.lproj/Localizable.strings has changed
Binary file Simoleon/Localisation/en.xcloc/Source Contents/Simoleon/es.lproj/Localizable.strings has changed
--- a/Simoleon/Settings.swift	Sat Jul 24 23:57:07 2021 +0100
+++ b/Simoleon/Settings.swift	Sun Jul 25 10:59:51 2021 +0100
@@ -86,6 +86,10 @@
                 Link(destination: URL(string: "https://dennistech.io")!) {
                     Text("Privacy Policy", comment: "Button to go to app privacy policy")
                 }
+                
+                Link(destination: URL(string: "https://dennistech.io/terms-of-use")!) {
+                    Text("Terms of Use", comment: "Button to go to app terms of use")
+                }
             }
         }
         .onAppear(perform: onAppear)
@@ -130,5 +134,6 @@
     static var previews: some View {
         Settings()
             .environmentObject(SubscriptionController())
+            .environment(\.locale, .init(identifier: "es"))
     }
 }