Skip to content

Commit

Permalink
merge 错误到时的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoon committed Mar 20, 2017
1 parent 5fd9268 commit fec5325
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions QMUIKit/UIComponents/QMUIToastView.m
Original file line number Diff line number Diff line change
Expand Up @@ -296,17 +296,8 @@ + (BOOL)hideAllToastInView:(UIView *)view animated:(BOOL)animated {
[toastView hideAnimated:animated];
returnFlag = YES;
}
return NO;
}
return returnFlag;
+ (BOOL)hideAllToastInView:(UIView *)view animated:(BOOL)animated {
QMUIToastView *toast = [self toastInView:view];
if (toast != nil) {
toast.removeFromSuperViewWhenHide = YES;
[toast hideAnimated:animated];
return YES;
}
return NO;
}

+ (instancetype)toastInView:(UIView *)view {
Expand Down

0 comments on commit fec5325

Please sign in to comment.