Sizing fix
This commit is contained in:
parent
f26537a8ad
commit
0f59f6023b
|
@ -9,7 +9,7 @@ struct ProfilePicture: View {
|
||||||
|
|
||||||
init(url: URL, size: CGFloat = 50.0) {
|
init(url: URL, size: CGFloat = 50.0) {
|
||||||
self.url = url
|
self.url = url
|
||||||
self.size = size
|
self.size = max(10, size)
|
||||||
}
|
}
|
||||||
|
|
||||||
var cornerRadius: CGFloat {
|
var cornerRadius: CGFloat {
|
||||||
|
|
Loading…
Reference in New Issue