File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Coding_iOS/Controllers/NProjectViewController Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
207
207
if (_myProject.is_public .boolValue ) {
208
208
[cell setImageStr: @" project_item_member" andTitle: @" 成员" ];
209
209
}else {
210
- [cell setImageStr: @" project_item_wiki" andTitle: @" Wiki" ];
210
+ [cell setImageStr: @" project_item_topic" andTitle: @" 讨论" ];
211
+ // [cell setImageStr:@"project_item_wiki" andTitle:@"Wiki"];
211
212
}
212
213
break ;
213
214
case 4 :
@@ -300,16 +301,16 @@ - (void)goToIndex:(NSInteger)index{
300
301
}
301
302
}];
302
303
}
303
- if (index == 3 && _myProject.is_public && !_myProject.is_public .boolValue ) {
304
- WikiViewController *vc = [WikiViewController new ];
305
- vc.myProject = self.myProject ;
306
- [self .navigationController pushViewController: vc animated: YES ];
307
- }else {
304
+ // if (index == 3 && _myProject.is_public && !_myProject.is_public.boolValue) {
305
+ // WikiViewController *vc = [WikiViewController new];
306
+ // vc.myProject = self.myProject;
307
+ // [self.navigationController pushViewController:vc animated:YES];
308
+ // }else{
308
309
ProjectViewController *vc = [[ProjectViewController alloc ] init ];
309
310
vc.myProject = self.myProject ;
310
311
vc.curIndex = index;
311
312
[self .navigationController pushViewController: vc animated: YES ];
312
- }
313
+ // }
313
314
}
314
315
- (void )gotoPro : (Project *)project {
315
316
NProjectViewController *vc = [[NProjectViewController alloc ] init ];
You can’t perform that action at this time.
0 commit comments