Commit f04ac1ceeb31fe3bbd5eeb54c5da2b3f94390de0

Authored by zhangxiaowen
1 parent 2686a514

no message

CNLiveMineModule/Classes/UserInfo/CNLiveInfoUpdateController.h
@@ -16,6 +16,7 @@ NS_ASSUME_NONNULL_BEGIN @@ -16,6 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
16 - (void)updateSuccess:(CNLiveUserInfoDataType)dataType info:(NSString *)info; 16 - (void)updateSuccess:(CNLiveUserInfoDataType)dataType info:(NSString *)info;
17 17
18 @end 18 @end
  19 +
19 @interface CNLiveInfoUpdateController : UIViewController 20 @interface CNLiveInfoUpdateController : UIViewController
20 @property (nonatomic, weak) id<CNLiveInfoUpdateDelegate> delegate; 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,7 +88,6 @@ static const CGFloat timeValue = 1.5;
88 } 88 }
89 [self.view addSubview:self.navigationBar]; 89 [self.view addSubview:self.navigationBar];
90 [self.view addSubview:self.contentView]; 90 [self.view addSubview:self.contentView];
91 -  
92 } 91 }
93 92
94 #pragma mark - UITextFieldDelegate 93 #pragma mark - UITextFieldDelegate
@@ -115,7 +114,6 @@ static const CGFloat timeValue = 1.5; @@ -115,7 +114,6 @@ static const CGFloat timeValue = 1.5;
115 114
116 #pragma mark - UITextFieldDelegate 115 #pragma mark - UITextFieldDelegate
117 - (BOOL)textFieldShouldReturn:(UITextField *)textField { 116 - (BOOL)textFieldShouldReturn:(UITextField *)textField {
118 -// [self compleBtnAction:nil];  
119 return YES; 117 return YES;
120 } 118 }
121 119
@@ -127,7 +125,6 @@ static const CGFloat timeValue = 1.5; @@ -127,7 +125,6 @@ static const CGFloat timeValue = 1.5;
127 if([text length] != 0) { 125 if([text length] != 0) {
128 NSLog(@"增"); 126 NSLog(@"增");
129 if ([[text removeNewLine] length] == 0) { //换行 127 if ([[text removeNewLine] length] == 0) { //换行
130 -// [self compleBtnAction:nil];  
131 return NO; 128 return NO;
132 } 129 }
133 } 130 }
CNLiveMineModule/Classes/View/CNLiveMineNavigationBar.m
@@ -81,7 +81,7 @@ static const NSInteger margin = 10; @@ -81,7 +81,7 @@ static const NSInteger margin = 10;
81 _header.layer.masksToBounds = YES; 81 _header.layer.masksToBounds = YES;
82 _header.layer.cornerRadius = 15; 82 _header.layer.cornerRadius = 15;
83 UIImage *xw_image = [self xw_getImageName:@"default_avatar_y" bundleName:@"CNLiveMineModule" targetClass:[CNLiveMineNavigationBar class]]; 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 return _header; 87 return _header;