Tweaked the UI in the ProfileView view for the Profile module.

This commit is contained in:
Javier Cicchelli 2022-12-15 02:29:59 +01:00
parent 6286086d2c
commit 1e513e688c

View File

@ -47,6 +47,7 @@ public struct ProfileView: View {
}
.listRowBackground(Color.clear)
Group {
ProfileSection(
header: "profile.sections.names.header.text",
items: [
@ -78,6 +79,8 @@ public struct ProfileView: View {
)
]
)
}
.listRowBackground(Color.secondary.colorInvert())
Section {
Button {
@ -91,14 +94,14 @@ public struct ProfileView: View {
.foregroundColor(.primary)
.frame(maxWidth: .infinity)
}
.tint(.orange)
.tint(.red)
.controlSize(.large)
.buttonStyle(.borderedProminent)
.buttonBorderShape(.roundedRectangle(radius: 8))
.controlSize(.large)
}
.listRowBackground(Color.clear)
}
.background(Color.red)
.background(Color.primary.colorInvert())
}
}