Tanner Bennett лет назад: 6
Родитель
Сommit
29dd970ea7
1 измененных файлов с 2 добавлено и 2 удалено
  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];
     };