Improved the styling of the action buttons in the ProfileView and the MessageView views.

This commit is contained in:
Javier Cicchelli 2022-12-15 02:46:01 +01:00
parent 144ee0f705
commit a223896ea0
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ struct MessageView: View {
bundle: .module bundle: .module
) )
.font(.body) .font(.body)
.foregroundColor(.primary) .fontWeight(.semibold)
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)
} }
.tint(.red) .tint(.red)

View File

@ -90,6 +90,7 @@ public struct ProfileView: View {
"profile.button.log_out.text", "profile.button.log_out.text",
bundle: .module bundle: .module
) )
.font(.body)
.fontWeight(.semibold) .fontWeight(.semibold)
.foregroundColor(.primary) .foregroundColor(.primary)
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)