修复bug
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#import "RoomInfoModel.h"
|
||||
#import "XPIAPRechargeViewController.h"
|
||||
#import "XCCurrentVCStackManager.h"
|
||||
#import "ClientConfig.h"
|
||||
|
||||
@interface PIRoomSendRedPacketItemVC ()<PIRedPacketChooseTypeViewDelegate,XPRoomRedPacketPwdViewDelegate>
|
||||
///host代理
|
||||
@@ -383,7 +384,11 @@
|
||||
}
|
||||
- (UILabel *)tipsView{
|
||||
if(!_tipsView){
|
||||
_tipsView = [UILabel labelInitWithText:YMLocalizedString(@"PIRoomSendRedPacketItemVC6") font:kFontRegular(12) textColor:UIColorFromRGB(0x94959C)];
|
||||
|
||||
CGFloat time = [ClientConfig shareConfig].configInfo.redEnvelopeConfig.endSecond / 3600.0;
|
||||
NSString *timeStr = [NSString stringWithFormat:@"%.1f",time];
|
||||
timeStr = [timeStr stringByReplacingOccurrencesOfString:@".0" withString:@""];
|
||||
_tipsView = [UILabel labelInitWithText:[NSString stringWithFormat:YMLocalizedString(@"PIRoomSendRedPacketItemVC6"),timeStr] font:kFontRegular(12) textColor:UIColorFromRGB(0x94959C)];
|
||||
}
|
||||
return _tipsView;
|
||||
}
|
||||
|
Reference in New Issue
Block a user