|
|
@ -78,7 +78,7 @@ public final class ProfilePictureView : UIView {
|
|
|
|
let result = UIImageView()
|
|
|
|
let result = UIImageView()
|
|
|
|
result.layer.masksToBounds = true
|
|
|
|
result.layer.masksToBounds = true
|
|
|
|
result.backgroundColor = Colors.unimportant
|
|
|
|
result.backgroundColor = Colors.unimportant
|
|
|
|
result.layer.borderColor = Colors.border.cgColor
|
|
|
|
result.layer.borderColor = Colors.text.withAlphaComponent(0.35).cgColor
|
|
|
|
result.layer.borderWidth = Values.borderThickness
|
|
|
|
result.layer.borderWidth = Values.borderThickness
|
|
|
|
result.contentMode = .scaleAspectFit
|
|
|
|
result.contentMode = .scaleAspectFit
|
|
|
|
return result
|
|
|
|
return result
|
|
|
|