杀菌关闭时,不显示倒计时
This commit is contained in:
+2
-1
@@ -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:@"杀菌开"];
|
||||
|
||||
+1
@@ -1697,6 +1697,7 @@
|
||||
|
||||
-(void)ifishSocket:(AsyncSocket *)sock willDisconnectWithError:(NSError *)err{
|
||||
NSLog(@"soket错误断开");
|
||||
[self hideToastActivity];
|
||||
}
|
||||
|
||||
-(BOOL)ifishSocketWillConnect:(AsyncSocket *)sock{
|
||||
|
||||
Reference in New Issue
Block a user