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

View File

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

View File

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