Commit f04ac1ceeb31fe3bbd5eeb54c5da2b3f94390de0
1 parent
2686a514
no message
Showing
3 changed files
with
2 additions
and
4 deletions
CNLiveMineModule/Classes/UserInfo/CNLiveInfoUpdateController.h
| ... | ... | @@ -16,6 +16,7 @@ NS_ASSUME_NONNULL_BEGIN |
| 16 | 16 | - (void)updateSuccess:(CNLiveUserInfoDataType)dataType info:(NSString *)info; |
| 17 | 17 | |
| 18 | 18 | @end |
| 19 | + | |
| 19 | 20 | @interface CNLiveInfoUpdateController : UIViewController |
| 20 | 21 | @property (nonatomic, weak) id<CNLiveInfoUpdateDelegate> delegate; |
| 21 | 22 | ... | ... |
CNLiveMineModule/Classes/UserInfo/CNLiveInfoUpdateController.m
| ... | ... | @@ -88,7 +88,6 @@ static const CGFloat timeValue = 1.5; |
| 88 | 88 | } |
| 89 | 89 | [self.view addSubview:self.navigationBar]; |
| 90 | 90 | [self.view addSubview:self.contentView]; |
| 91 | - | |
| 92 | 91 | } |
| 93 | 92 | |
| 94 | 93 | #pragma mark - UITextFieldDelegate |
| ... | ... | @@ -115,7 +114,6 @@ static const CGFloat timeValue = 1.5; |
| 115 | 114 | |
| 116 | 115 | #pragma mark - UITextFieldDelegate |
| 117 | 116 | - (BOOL)textFieldShouldReturn:(UITextField *)textField { |
| 118 | -// [self compleBtnAction:nil]; | |
| 119 | 117 | return YES; |
| 120 | 118 | } |
| 121 | 119 | |
| ... | ... | @@ -127,7 +125,6 @@ static const CGFloat timeValue = 1.5; |
| 127 | 125 | if([text length] != 0) { |
| 128 | 126 | NSLog(@"增"); |
| 129 | 127 | if ([[text removeNewLine] length] == 0) { //换行 |
| 130 | -// [self compleBtnAction:nil]; | |
| 131 | 128 | return NO; |
| 132 | 129 | } |
| 133 | 130 | } | ... | ... |
CNLiveMineModule/Classes/View/CNLiveMineNavigationBar.m
| ... | ... | @@ -81,7 +81,7 @@ static const NSInteger margin = 10; |
| 81 | 81 | _header.layer.masksToBounds = YES; |
| 82 | 82 | _header.layer.cornerRadius = 15; |
| 83 | 83 | UIImage *xw_image = [self xw_getImageName:@"default_avatar_y" bundleName:@"CNLiveMineModule" targetClass:[CNLiveMineNavigationBar class]]; |
| 84 | - [_header sd_setImageWithURL:[NSURL URLWithString:@"头像"] placeholderImage:xw_image]; | |
| 84 | + [_header sd_setImageWithURL:[NSURL URLWithString:CNUserShareModel.faceUrl] placeholderImage:xw_image]; | |
| 85 | 85 | |
| 86 | 86 | } |
| 87 | 87 | return _header; | ... | ... |