mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-15 22:11:06 +00:00
Rework About Screen
This commit is contained in:
parent
f0e9b0ca26
commit
0989f25bff
1 changed files with 20 additions and 21 deletions
|
@ -17,9 +17,8 @@ struct AboutView: View {
|
||||||
}
|
}
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
ScrollView {
|
List {
|
||||||
VStack(alignment: .leading) {
|
Section {
|
||||||
Divider()
|
|
||||||
HStack {
|
HStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
Image("icon0")
|
Image("icon0")
|
||||||
|
@ -40,22 +39,20 @@ struct AboutView: View {
|
||||||
.cornerRadius(4)
|
.cornerRadius(4)
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
.padding(.top, 10)
|
|
||||||
HStack {
|
Link(destination: URL(string: "https://github.com/Dimillian/IceCubesApp/blob/main/PRIVACY.MD")!) {
|
||||||
Spacer()
|
Label("settings.support.privacy-policy", systemImage: "lock")
|
||||||
Text("\(versionNumber)©2023 Thomas Ricouard")
|
|
||||||
.font(.scaledFootnote)
|
|
||||||
.foregroundColor(.gray)
|
|
||||||
.fontWeight(.semibold)
|
|
||||||
.padding(.bottom, 10)
|
|
||||||
Spacer()
|
|
||||||
}
|
}
|
||||||
Divider()
|
|
||||||
Text("settings.about.built-with")
|
Link(destination: URL(string: "https://github.com/Dimillian/IceCubesApp/blob/main/TERMS.MD")!) {
|
||||||
.padding(.horizontal, 25)
|
Label("settings.support.terms-of-use", systemImage: "checkmark.shield")
|
||||||
.padding(.bottom, 10)
|
}
|
||||||
.font(.scaledSubheadline)
|
} footer: {
|
||||||
.foregroundColor(.gray)
|
Text("\(versionNumber)©2023 Thomas Ricouard")
|
||||||
|
}
|
||||||
|
.listRowBackground(theme.primaryBackgroundColor)
|
||||||
|
|
||||||
|
Section {
|
||||||
Text("""
|
Text("""
|
||||||
• [EmojiText](https://github.com/divadretlaw/EmojiText)
|
• [EmojiText](https://github.com/divadretlaw/EmojiText)
|
||||||
|
|
||||||
|
@ -79,14 +76,16 @@ struct AboutView: View {
|
||||||
|
|
||||||
• [RevenueCat](https://github.com/RevenueCat/purchases-ios)
|
• [RevenueCat](https://github.com/RevenueCat/purchases-ios)
|
||||||
""")
|
""")
|
||||||
.padding(.horizontal, 25)
|
|
||||||
.multilineTextAlignment(.leading)
|
.multilineTextAlignment(.leading)
|
||||||
.font(.scaledSubheadline)
|
.font(.scaledSubheadline)
|
||||||
.foregroundColor(.gray)
|
.foregroundColor(.gray)
|
||||||
|
} header: {
|
||||||
|
Text("settings.about.built-with")
|
||||||
|
.textCase(nil)
|
||||||
}
|
}
|
||||||
Divider()
|
.listRowBackground(theme.primaryBackgroundColor)
|
||||||
Spacer()
|
|
||||||
}
|
}
|
||||||
|
.listStyle(.insetGrouped)
|
||||||
.scrollContentBackground(.hidden)
|
.scrollContentBackground(.hidden)
|
||||||
.background(theme.secondaryBackgroundColor)
|
.background(theme.secondaryBackgroundColor)
|
||||||
.navigationTitle(Text("settings.about.title"))
|
.navigationTitle(Text("settings.about.title"))
|
||||||
|
|
Loading…
Reference in a new issue