Browse Source

FIX build iOS

Thibault Malbranche 6 years ago
parent
commit
f486eb2dde
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/RCTUIWebViewManager.m

+ 1
- 1
ios/RCTUIWebViewManager.m View File

@@ -57,7 +57,7 @@ RCT_EXPORT_METHOD(goBack:(nonnull NSNumber *)reactTag)
57 57
 RCT_EXPORT_METHOD(goForward:(nonnull NSNumber *)reactTag)
58 58
 {
59 59
   [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
60
-    id view = viewRegistry[reactTag];
60
+    RCTUIWebView *view = viewRegistry[reactTag];
61 61
     if (![view isKindOfClass:[RCTUIWebView class]]) {
62 62
       RCTLogError(@"Invalid view returned from registry, expecting RCTUIWebView, got: %@", view);
63 63
     } else {