Skip to content

Commit 6e2551d

Browse files
committed
IOS-6848. My Account - The app crashes when the user taps on the avatar icon
1 parent 2ceadf2 commit 6e2551d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

iMEGA/My Account/MyAccountHallTableViewCell.m

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ - (void)setupCell {
2828
self.pendingView.backgroundColor = [UIColor mnz_redForTraitCollection:self.traitCollection];
2929
self.pendingLabel.textColor = UIColor.whiteColor;
3030

31-
[self layoutPendingView];
31+
if (self.pendingView != nil) {
32+
[self layoutPendingView];
33+
}
3234
}
3335

3436
@end

0 commit comments

Comments
 (0)