Pārlūkot izejas kodu

Fix Instances table view bug

Accidentally returned a FLEXObjectRef and not the object itself
Tanner Bennett 7 gadi atpakaļ
vecāks
revīzija
7c17ce0787

+ 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];
 }