Skip to content

Commit abb50b2

Browse files
committed
IOS-8547: Optionally check iboutlet in ContactsList items
(cherry picked from commit d863164) # Conflicts: # iMEGA/My Account/Contacts/Cells/ItemCollectionViewCell+Additions.swift blah
1 parent 3c7ddf6 commit abb50b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

iMEGA/My Account/Contacts/Cells/ItemCollectionViewCell+Additions.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import MEGAUIKit
66
extension ItemCollectionViewCell {
77

88
open override func prepareForReuse() {
9-
super.prepareForReuse()
10-
119
viewModel = nil
12-
avatarImageView.removeBlurFromView()
13-
cancellables = nil
10+
cancellables = []
11+
avatarImageView?.image = nil
12+
avatarImageView?.removeBlurFromView()
13+
super.prepareForReuse()
1414
}
1515

1616
@objc func bind(viewModel: ItemCollectionViewCellViewModel) {

0 commit comments

Comments
 (0)