杀菌关闭时,不显示倒计时

This commit is contained in:
kai60
2020-06-30 22:22:55 +08:00
parent 217908ad84
commit 036ef4b543
3 changed files with 5 additions and 3 deletions
@@ -141,7 +141,8 @@
lasttime=@"";
}
UIImage*uvNomal=[UIImage imageNamed:@"杀菌关"];
uvNomal=[uvNomal imageWaterMarkWithString:lasttime rect:CGRectMake(140, 60, 60, 60) attribute:@{NSForegroundColorAttributeName:[UIColor redColor],NSFontAttributeName:[UIFont systemFontOfSize:25]}];
//关闭不显示
// uvNomal=[uvNomal imageWaterMarkWithString:lasttime rect:CGRectMake(140, 60, 60, 60) attribute:@{NSForegroundColorAttributeName:[UIColor redColor],NSFontAttributeName:[UIFont systemFontOfSize:25]}];
[light1Btn setImage:uvNomal forState:UIControlStateNormal];
UIImage*uvsel=[UIImage imageNamed:@"杀菌开"];
@@ -1697,6 +1697,7 @@
-(void)ifishSocket:(AsyncSocket *)sock willDisconnectWithError:(NSError *)err{
NSLog(@"soket错误断开");
[self hideToastActivity];
}
-(BOOL)ifishSocketWillConnect:(AsyncSocket *)sock{