2.1.3版本发版 此commit置顶
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
buildConfiguration = "Release"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
|
@@ -1330,7 +1330,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
||||
if(data.kind == 0){
|
||||
data.kind = 1;
|
||||
}
|
||||
if((data.validityType == 0 && data.type == RedPacketType_RoomDiamond)|| data.type == RedPacketType_AllDiamond){
|
||||
if((data.validityType == 0 && data.type == RedPacketType_RoomDiamond && [self isShowRedPacketView:data] == YES) || data.type == RedPacketType_AllDiamond){
|
||||
XPReceiveRedPacketView *view = [[XPReceiveRedPacketView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, KScreenHeight)];
|
||||
view.receiveModel = data;
|
||||
view.delegate = self;
|
||||
@@ -1351,6 +1351,12 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
||||
|
||||
}
|
||||
}
|
||||
-(BOOL)isShowRedPacketView:(XPRedPacketModel *)model{
|
||||
if(model.state == 1 || model.state == 5){
|
||||
return YES;
|
||||
}
|
||||
return NO;
|
||||
}
|
||||
-(void)getFreeGiftDataSuccess:(XPFreeGiftModel *)freeModel{
|
||||
self.freeModel = freeModel;
|
||||
self.menuContainerView.freeModel = freeModel;
|
||||
|
Reference in New Issue
Block a user