Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions ios/AWSaryAppClip/AboutViewClipApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ struct AboutView: View {
@ObservedObject var userModel = UserViewModel.shared
@ObservedObject var awsServices = AwsServices()
@Query var settings: [SystemSetting]
private var developerAppsURL: URL? {
URL(string: "https://apps.apple.com/developer/tiagorodrigues/id1634871093")
}

// Computed property for awsServiceLogoWithLabel setting
private var awsServiceLogoWithLabel: Bool {
Expand Down Expand Up @@ -140,6 +143,20 @@ struct AboutView: View {
Text("Search for the name of an AWS service, you can open and look for the definition of it. You can also drag and drop the service logo to your favorite drawing application. (Check video below)")
MyYoutubePlayer(youtube_id: "c0SjbhRR3lk")
}
Section(header: Text("More iOS Apps")){
if let developerAppsURL {
Link(destination: developerAppsURL) {
Label {
VStack(alignment: .leading){
Text("Discover my other apps")
Text("Explore all iOS apps by Tiago Rodrigues on the App Store.").font(.footnote).opacity(0.6)
}
} icon:{
Image(systemName: "apps.iphone")
}
}
}
}
Section(){
Link("Terms of Use (EULA)", destination: URL(string: "https://www.apple.com/legal/internet-services/itunes/dev/stdeula")!)
Link("Privacy Policy", destination: URL(string: "https://tig.pt/awsary-privacy")!)
Expand Down
17 changes: 17 additions & 0 deletions ios/Shared/MainViews/AboutView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ struct AboutView: View {
@ObservedObject var awsServices = AwsServices()
@Query var settings: [SystemSetting]
@Query var cachedStats: [CachedAppStats]
private var developerAppsURL: URL? {
URL(string: "https://apps.apple.com/developer/tiagorodrigues/id1634871093")
}

// Add state variable to store the random service
@State private var randomAWSservice: awsService?
Expand Down Expand Up @@ -265,6 +268,20 @@ struct AboutView: View {
Text("Search for the name of an AWS service, you can open and look for the definition of it. You can also drag and drop the service logo to your favorite drawing application. (Check video below)")
MyYoutubePlayer(youtube_id: "c0SjbhRR3lk")
}
Section(header: Text("More iOS Apps")){
if let developerAppsURL {
Link(destination: developerAppsURL) {
Label {
VStack(alignment: .leading){
Text("Discover my other apps")
Text("Explore all iOS apps by Tiago Rodrigues on the App Store.").font(.footnote).opacity(0.6)
}
} icon:{
Image(systemName: "apps.iphone")
}
}
}
}
Section(){
Link("Terms of Use (EULA)", destination: URL(string: "https://www.apple.com/legal/internet-services/itunes/dev/stdeula")!)
Link("Privacy Policy", destination: URL(string: "https://tig.pt/awsary-privacy")!)
Expand Down