diff --git a/iOS/MasterTimeline/Cell/MasterTimelineAvatarView.swift b/iOS/MasterTimeline/Cell/MasterTimelineAvatarView.swift index 64c46f52c..028dfcc7f 100644 --- a/iOS/MasterTimeline/Cell/MasterTimelineAvatarView.swift +++ b/iOS/MasterTimeline/Cell/MasterTimelineAvatarView.swift @@ -63,6 +63,8 @@ final class MasterTimelineAvatarView: UIView { private extension MasterTimelineAvatarView { func commonInit() { + layer.cornerRadius = MasterTimelineDefaultCellLayout.avatarCornerRadius + clipsToBounds = true addSubview(imageView) } diff --git a/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift b/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift index 91669f2de..7b09844ed 100644 --- a/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift +++ b/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift @@ -203,8 +203,6 @@ private extension MasterTimelineTableViewCell { } showView(avatarView) - avatarView.layer.cornerRadius = MasterTimelineDefaultCellLayout.avatarCornerRadius - avatarView.clipsToBounds = true if avatarView.image !== cellData.avatar { avatarView.image = image