comparison Simoleon/AboutView.swift @ 170:f4e0c414cf6d

minor UI changes
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Thu, 23 Sep 2021 15:14:48 +0200
parents b899c1142d9d
children
comparison
equal deleted inserted replaced
169:8c8741785e48 170:f4e0c414cf6d
8 import SwiftUI 8 import SwiftUI
9 9
10 struct AboutView: View { 10 struct AboutView: View {
11 var body: some View { 11 var body: some View {
12 Form { 12 Form {
13 Section(header: Text("Stay in touch")) { 13 Section(header: Text("Feedback")) {
14 Link(destination: URL(string: "https://itunes.apple.com/app/id1576390953?action=write-review")!) { 14 Link(destination: URL(string: "https://itunes.apple.com/app/id1576390953?action=write-review")!) {
15 HStack { 15 HStack {
16 Image(systemName: "heart.fill") 16 Image(systemName: "heart.fill")
17 .foregroundColor(Color(.systemRed)) 17 .foregroundColor(Color(.systemRed))
18 .imageScale(.large) 18 .imageScale(.large)
19 19
20 Text("Rate Simoleon") 20 Text("Rate Simoleon")
21 } 21 }
22 } 22 }
23 23 }
24
25 Section(header: Text("Stay in touch")) {
24 Link(destination: URL(string: "https://twitter.com/dennisconcep")!) { 26 Link(destination: URL(string: "https://twitter.com/dennisconcep")!) {
25 HStack { 27 HStack {
26 Image("TwitterLogo") 28 Image("TwitterLogo")
27 .resizable() 29 .resizable()
28 .frame(width: 30, height: 30) 30 .frame(width: 30, height: 30)
40 Text("Contact") 42 Text("Contact")
41 } 43 }
42 } 44 }
43 } 45 }
44 46
45 Section(header: Text("About")) { 47 Section(header: Text("Information")) {
46 Link(destination: URL(string: "https://dennistech.io")!) { 48 Link(destination: URL(string: "https://dennistech.io")!) {
47 Text("Website") 49 Text("Website")
48 } 50 }
49 51
50 Link(destination: URL(string: "https://dennistech.io/simoleon-privacy-policy")!) { 52 Link(destination: URL(string: "https://dennistech.io/simoleon-privacy-policy")!) {