Fixed some UI issues in the modules.

This commit is contained in:
Javier Cicchelli 2022-12-15 22:54:23 +01:00
parent a223896ea0
commit 1f1d7fa592
3 changed files with 8 additions and 5 deletions

View File

@ -58,7 +58,10 @@ struct BrowseToolbar: ToolbarContent {
) )
} icon: { } icon: {
Image.add Image.add
.foregroundColor(.red) .resizable()
.scaledToFit()
.frame(width: 24, height: 24)
.tint(.red)
} }
} }
} }
@ -75,7 +78,10 @@ struct BrowseToolbar: ToolbarContent {
) )
} icon: { } icon: {
Image.profile Image.profile
.foregroundColor(.red) .resizable()
.scaledToFit()
.frame(width: 24, height: 24)
.tint(.red)
} }
} }
} }

View File

@ -15,10 +15,8 @@ struct LogInLabelStyle: LabelStyle {
configuration.title configuration.title
.font(.body) .font(.body)
.foregroundColor(.primary)
configuration.icon configuration.icon
.tint(.primary)
Spacer() Spacer()
} }

View File

@ -92,7 +92,6 @@ public struct ProfileView: View {
) )
.font(.body) .font(.body)
.fontWeight(.semibold) .fontWeight(.semibold)
.foregroundColor(.primary)
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)
} }
.tint(.red) .tint(.red)