Update SettingsView.swift

This commit is contained in:
se2crid 2025-03-28 16:18:09 +01:00 • committed by GitHub
parent e5bdd2c44f
commit decf0cba9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,18 +154,17 @@ struct SettingsView: View {
}
.listRowBackground(Color.cardBackground)
VStack(alignment: .leading) {
VStack(alignment: .leading, spacing: 4) {
Text("Collaborators:")
.foregroundColor(.secondaryText)
HStack {
HStack(spacing: 8) {
Button(action: {
if let url = URL(string: "https://github.com/Stossy11") {
UIApplication.shared.open(url)
}
}) {
Text("Stossy11")
.frame(maxWidth: .infinity)
.padding(.vertical, 8)
.padding(.vertical, 4)
.contentShape(Rectangle())
.foregroundColor(.primaryText)
}
@ -177,8 +176,7 @@ struct SettingsView: View {
}
}) {
Text("Neo")
.frame(maxWidth: .infinity)
.padding(.vertical, 8)
.padding(.vertical, 4)
.contentShape(Rectangle())
.foregroundColor(.primaryText)
}
@ -190,8 +188,7 @@ struct SettingsView: View {
}
}) {
Text("Se2crid")
.frame(maxWidth: .infinity)
.padding(.vertical, 8)
.padding(.vertical, 4)
.contentShape(Rectangle())
.foregroundColor(.primaryText)
}
@ -203,8 +200,7 @@ struct SettingsView: View {
}
}) {
Text("HugeBlack")
.frame(maxWidth: .infinity)
.padding(.vertical, 8)
.padding(.vertical, 4)
.contentShape(Rectangle())
.foregroundColor(.primaryText)
}
@ -355,4 +351,3 @@ struct SettingsView: View {
.padding(.horizontal)
}
}