diff --git a/MasterPassword/ObjC/iOS/MPAvatarCell.m b/MasterPassword/ObjC/iOS/MPAvatarCell.m index eb827809..6ae32a8f 100644 --- a/MasterPassword/ObjC/iOS/MPAvatarCell.m +++ b/MasterPassword/ObjC/iOS/MPAvatarCell.m @@ -58,10 +58,10 @@ const long MPAvatarAdd = 10000; self.avatarImageView.backgroundColor = [UIColor clearColor]; [self observeKeyPath:@"selected" withBlock:^(id from, id to, NSKeyValueChange cause, id _self) { - [_self updateAnimated:YES]; + [_self updateAnimated:self.superview != nil]; }]; [self observeKeyPath:@"highlighted" withBlock:^(id from, id to, NSKeyValueChange cause, id _self) { - [_self updateAnimated:YES]; + [_self updateAnimated:self.superview != nil]; }]; CABasicAnimation *toShadowOpacityAnimation = [CABasicAnimation animationWithKeyPath:@"shadowOpacity"]; diff --git a/MasterPassword/ObjC/iOS/Storyboard.storyboard b/MasterPassword/ObjC/iOS/Storyboard.storyboard index 7f78b9b8..2fe26471 100644 --- a/MasterPassword/ObjC/iOS/Storyboard.storyboard +++ b/MasterPassword/ObjC/iOS/Storyboard.storyboard @@ -28,7 +28,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -110,11 +110,11 @@ - + - + @@ -300,6 +300,7 @@ + @@ -317,7 +318,6 @@ - @@ -361,11 +361,11 @@ - + - + @@ -2448,7 +2448,7 @@ See - +