|
|
@@ -5084,11 +5084,21 @@ static int mainRTMJoinNum = 0;
|
|
|
|
|
|
- (void)justLeaveAndNoLeaveAnimation{
|
|
|
self.isNoLeaveAnimation = YES;
|
|
|
+ WEAKSELF
|
|
|
NSString *openResult = [[NSUserDefaults standardUserDefaults] valueForKey:@"kLiveSetMinimizeKey"];
|
|
|
if ([MOMinimizeManager shareManager].popLiveType == MOPopLiveTypeClose || [openResult isEqualToString:@"close"]) {
|
|
|
[self toLeaveTheLive];
|
|
|
} else {
|
|
|
[[MOMinimizeManager shareManager] showMinimizeView];
|
|
|
+ [MOMinimizeManager shareManager].closeTheMiniViewBlock = ^{
|
|
|
+
|
|
|
+ //关闭悬浮窗 - 需要置空的属性
|
|
|
+ if(weakSelf){
|
|
|
+ weakSelf.isJoinRoom = NO;
|
|
|
+ [weakSelf.liveTimer invalidate];
|
|
|
+ }
|
|
|
+ [MOSvgaSourceManage shareManager].countdownList = [NSArray array];//离开房间 - 倒计时数据清空
|
|
|
+ };
|
|
|
[self captureAndAnimateLiveView];
|
|
|
}
|
|
|
}
|