Tweaked the UI in the ProfileView view for the Profile module.
This commit is contained in:
parent
6286086d2c
commit
1e513e688c
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user