Commit bcd8f9357d3543f56cbf74d1853a77368407e89d

Authored by zhangxiaowen
1 parent a06e038a

no message

CNLiveIntegralModule/Classes/Controller/CNLiveTaskListController.m
... ... @@ -103,18 +103,16 @@
103 103  
104 104 }
105 105 else if ([type isEqualToString:@"check_in"]){//签到
106   -// if([self.isFrom isEqualToString:@"Classify"]){
107   -// CNTabBarViewController *tabbarController = (CNTabBarViewController *)[AppDelegate sharedAppDelegate].window.rootViewController;
108   -// tabbarController.selectedIndex = 2;
109   -// }
110   -// [self.navigationController popViewControllerAnimated:YES];
  106 + if([self.isFrom isEqualToString:@"Classify"]){
  107 + UITabBarController *tabbar = (UITabBarController *)[UIApplication sharedApplication].keyWindow.rootViewController;
  108 + tabbar.selectedIndex = 2;
  109 + }
  110 + [self.navigationController popViewControllerAnimated:YES];
111 111 }
112 112 else if ([type isEqualToString:@"listen_novel"]){//听小说
113 113 // [self selectChannelId:@"219" classifyId:@"215"];
114   -
115 114 }
116 115  
117   -
118 116 }
119 117  
120 118  
... ...