зеркало из https://github.com/nextcloud/talk-ios.git
Fix UserSettingsTableViewCell init.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
c7673535f2
Коммит
3a6b85e371
|
@ -316,8 +316,6 @@ typedef enum AboutSection {
|
|||
cell.userDisplayNameLabel.text = [NCSettingsController sharedInstance].ncUserDisplayName;
|
||||
[cell.userImageView setImageWithURLRequest:[[NCAPIController sharedInstance] createAvatarRequestForUser:[NCSettingsController sharedInstance].ncUserId andSize:160]
|
||||
placeholderImage:nil success:nil failure:nil];
|
||||
cell.userImageView.layer.cornerRadius = 40.0;
|
||||
cell.userImageView.layer.masksToBounds = YES;
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,8 @@ NSString *const kUserSettingsTableCellNibName = @"UserSettingsTableViewCell";
|
|||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.userImageView.layer.cornerRadius = 40.0;
|
||||
self.userImageView.layer.masksToBounds = YES;
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
|
|
Загрузка…
Ссылка в новой задаче