Skip to content

Commit b177c56

Browse files
committed
中秋去掉遮罩 - 改错
1 parent 7afe308 commit b177c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Coding_iOS/Views/EaseStartView.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ - (instancetype)initWithBgImage:(UIImage *)bgImage logoIcon:(UIImage *)logoIcon
3434
_bgImageView.contentMode = UIViewContentModeScaleAspectFill;
3535
_bgImageView.alpha = 0.0;
3636
[self addSubview:_bgImageView];
37-
if ([NSDate isDuringMidAutumn]) {
37+
if (![NSDate isDuringMidAutumn]) {
3838
[self addGradientLayerWithColors:@[(id)[blackColor colorWithAlphaComponent:0.4].CGColor, (id)[blackColor colorWithAlphaComponent:0.0].CGColor] locations:nil startPoint:CGPointMake(0.5, 0.0) endPoint:CGPointMake(0.5, 0.4)];
3939
}
4040

0 commit comments

Comments
 (0)