修复bug
This commit is contained in:
@@ -330,20 +330,20 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
|
||||
// }else if([type intValue] == ThirdLoginType_Line){
|
||||
// typeButton = self.lineButtonView;
|
||||
// }
|
||||
if(typeButton == nil){
|
||||
return;
|
||||
}
|
||||
[self.view addSubview:self.nextView];
|
||||
[self.nextView addSubview:self.nextLabel];
|
||||
[self.nextView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.trailing.mas_equalTo(-kGetScaleWidth(28));
|
||||
make.width.mas_equalTo(kGetScaleWidth(70));
|
||||
make.height.mas_equalTo(kGetScaleWidth(24));
|
||||
make.centerY.equalTo(typeButton.mas_top);
|
||||
}];
|
||||
[self.nextLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.edges.equalTo(self.nextView);
|
||||
}];
|
||||
// if(typeButton == nil){
|
||||
// return;
|
||||
// }
|
||||
// [self.view addSubview:self.nextView];
|
||||
// [self.nextView addSubview:self.nextLabel];
|
||||
// [self.nextView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
// make.trailing.mas_equalTo(-kGetScaleWidth(28));
|
||||
// make.width.mas_equalTo(kGetScaleWidth(70));
|
||||
// make.height.mas_equalTo(kGetScaleWidth(24));
|
||||
// make.centerY.equalTo(typeButton.mas_top);
|
||||
// }];
|
||||
// [self.nextLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
// make.edges.equalTo(self.nextView);
|
||||
// }];
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user