Fixed some UI issues in the modules.
This commit is contained in:
parent
a223896ea0
commit
1f1d7fa592
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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()
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user