Specify accent color in style
This commit is contained in:
@ -13,7 +13,7 @@ struct LeftImageLabel: View {
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
HStack(spacing: 0) {
|
||||
HStack(alignment: .firstTextBaseline, spacing: 0) {
|
||||
Text(text)
|
||||
Image(systemSymbol: systemSymbol)
|
||||
.frame(width: 20)
|
||||
|
@ -13,9 +13,9 @@ struct RightImageLabel: View {
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
HStack(spacing: 0) {
|
||||
HStack(alignment: .firstTextBaseline, spacing: 3) {
|
||||
Image(systemSymbol: systemSymbol)
|
||||
.frame(width: 20)
|
||||
.aspectRatio(1, contentMode: .fill)
|
||||
Text(text)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user