Преглед изворни кода

Fix Instances table view bug

Accidentally returned a FLEXObjectRef and not the object itself
Tanner Bennett пре 7 година
родитељ
комит
7c17ce0787
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Classes/GlobalStateExplorers/FLEXInstancesTableViewController.m

+ 1 - 1
Classes/GlobalStateExplorers/FLEXInstancesTableViewController.m

@@ -232,7 +232,7 @@
 
 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
 {
-    id instance = self.instances[indexPath.row];
+    id instance = self.instances[indexPath.row].object;
     FLEXObjectExplorerViewController *drillInViewController = [FLEXObjectExplorerFactory explorerViewControllerForObject:instance];
     [self.navigationController pushViewController:drillInViewController animated:YES];
 }