mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
clean up avatar icon
avatar outline was showing behind camera which had transparent center // FREEBIE
This commit is contained in:
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 |
|
@ -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];
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue