阿拉伯语适配
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)onCloseButtonClick:(UIButton *)sender {
|
||||
- (void)onCloseButtonClick {
|
||||
[self mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.height.mas_equalTo(0);
|
||||
}];
|
||||
@@ -161,6 +161,9 @@
|
||||
return;
|
||||
}
|
||||
_titleArray = titleArray;
|
||||
if (titleArray.count == 0){
|
||||
[self onCloseButtonClick];
|
||||
}
|
||||
[self.collectionView reloadData];
|
||||
}
|
||||
|
||||
@@ -183,7 +186,7 @@
|
||||
if (!_closeButton) {
|
||||
_closeButton = [[UIButton alloc] init];
|
||||
[_closeButton setImage:[UIImage imageNamed:@"room_gift_graffiti_close"] forState:UIControlStateNormal];
|
||||
[_closeButton addTarget:self action:@selector(onCloseButtonClick:) forControlEvents:UIControlEventTouchUpInside];
|
||||
[_closeButton addTarget:self action:@selector(onCloseButtonClick) forControlEvents:UIControlEventTouchUpInside];
|
||||
}
|
||||
return _closeButton;
|
||||
}
|
||||
|
Reference in New Issue
Block a user