fix: profile avatar can not preview issue

This commit is contained in:
CMK 2021-07-02 14:01:31 +08:00
parent 083b416648
commit 6c6ab615c7
1 changed files with 5 additions and 1 deletions

View File

@ -86,7 +86,11 @@ final class ProfileHeaderView: UIView {
} }
static let avatarImageViewOverlayBlurEffect = UIBlurEffect(style: .systemUltraThinMaterialDark) static let avatarImageViewOverlayBlurEffect = UIBlurEffect(style: .systemUltraThinMaterialDark)
let avatarImageViewOverlayVisualEffectView = UIVisualEffectView(effect: nil) let avatarImageViewOverlayVisualEffectView: UIVisualEffectView = {
let visualEffectView = UIVisualEffectView(effect: nil)
visualEffectView.isUserInteractionEnabled = false
return visualEffectView
}()
let editAvatarBackgroundView: UIView = { let editAvatarBackgroundView: UIView = {
let view = UIView() let view = UIView()