Tanner Bennett 6 years ago
parent
commit
29dd970ea7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Classes/GlobalStateExplorers/FLEXObjectListViewController.m

+ 2 - 2
Classes/GlobalStateExplorers/FLEXObjectListViewController.m

@@ -240,9 +240,9 @@
         }
     ];
     
-    section.selectionHandler = ^(__kindof UIViewController *host, id element) {
+    section.selectionHandler = ^(__kindof UIViewController *host, FLEXObjectRef *ref) {
         [self.navigationController pushViewController:[
-            FLEXObjectExplorerFactory explorerViewControllerForObject:element
+            FLEXObjectExplorerFactory explorerViewControllerForObject:ref.object
         ] animated:YES];
     };