clean up avatar icon

avatar outline was showing behind camera which had transparent center

// FREEBIE
This commit is contained in:
Michael Kirk 2017-09-01 17:09:57 -04:00
parent 13640db20c
commit cd4cfb50d3
5 changed files with 0 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -232,9 +232,7 @@
if (!localProfileAvatarImage) {
UIImage *cameraImage = [UIImage imageNamed:@"settings-avatar-camera"];
cameraImage = [cameraImage imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
UIImageView *cameraImageView = [[UIImageView alloc] initWithImage:cameraImage];
cameraImageView.tintColor = [UIColor ows_materialBlueColor];
[cell.contentView addSubview:cameraImageView];
[cameraImageView autoPinTrailingToView:avatarView];
[cameraImageView autoPinEdge:ALEdgeBottom toEdge:ALEdgeBottom ofView:avatarView];

View file

@ -152,9 +152,7 @@ NSString *const kProfileView_LastPresentedDate = @"kProfileView_LastPresentedDat
self.avatarView = [AvatarImageView new];
UIImage *cameraImage = [UIImage imageNamed:@"settings-avatar-camera"];
cameraImage = [cameraImage imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
self.cameraImageView = [[UIImageView alloc] initWithImage:cameraImage];
self.cameraImageView.tintColor = [UIColor ows_materialBlueColor];
[avatarRow addSubview:self.avatarView];
[avatarRow addSubview:self.cameraImageView];