Следующий фрагмент кода приводит к ошибке Cannot invoke initializer for type 'Circle' with no arguments
в строке .clipShape (). Я пытался перебрать модификаторы безрезультатно. Любые предложения по исправлению? Спасибо!
struct MedCircleImage: View {
var image: Image
var body: some View {
image
.resizable()
.aspectRatio(contentMode: .fit)
.clipShape(Circle())
.overlay(Circle().stroke(periwinkle, lineWidth: 3))
.frame(width: 86, height: 86)
}
}