更换阿里推送,消息页面,以及部分bug修复
This commit is contained in:
+1
-1
@@ -445,7 +445,7 @@
|
||||
}else {
|
||||
self.tipLabel.text = @"当月电量";
|
||||
UInt64 mac = [dataContorl hexToTen:self.dataModel.electricity];
|
||||
NSString *stringTemp = [NSString stringWithFormat:@"%llukwh",mac];
|
||||
NSString *stringTemp = [NSString stringWithFormat:@"%llukwh",mac/10.0];
|
||||
[self.tempLabel setAttributedText:[NSString ls_changeFontAndColor:[UIFont systemFontOfSize:15] Color:nil TotalString:stringTemp SubStringArray:@[@"kwh"]]];
|
||||
if (!_switchTimer) {
|
||||
_switchTimer = [NSTimer timerWithTimeInterval:3.0 target:self selector:@selector(changeTemp) userInfo:nil repeats:YES];
|
||||
|
||||
Reference in New Issue
Block a user