Ver código fonte

修复 主播先下播, 直播间观众点击关闭 无法关闭直播间<遴选>

SuperC 1 ano atrás
pai
commit
f839bebe93
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      MiMoLive/MiMoLive/Classes/Live/MOShowLiveVC.m

+ 3 - 3
MiMoLive/MiMoLive/Classes/Live/MOShowLiveVC.m

@@ -990,7 +990,7 @@ typedef NS_ENUM(NSUInteger, MOShowLiveViewType)
     smallView.liveModel = self.liveModel;
     [smallView toShowTheLivingRoomWith:self];
     
-    [self dismissModalViewControllerAnimated:YES];
+    [self disMissTheVC];
 }
 
 - (void)showDismissView{
@@ -2322,7 +2322,7 @@ static int levetTemp = 5;
     [view showLiveEndView];
     view.closeViewBlock = ^{
         weakSelf.closeRoomBlock ? weakSelf.closeRoomBlock() : nil;
-        [weakSelf dismissModalViewControllerAnimated:YES];
+        [weakSelf disMissTheVC];
     };
 }
 
@@ -2346,7 +2346,7 @@ static int levetTemp = 5;
         }
         
         weakSelf.closeRoomBlock ? weakSelf.closeRoomBlock() : nil;
-        [weakSelf dismissModalViewControllerAnimated:YES];
+        [weakSelf disMissTheVC];
     };
     
     self.broadCastEndView.dismissViewBlock = ^{