Преглед на файлове

fix(iOS) exported view property "injectedJavaScriptBeforeContentLoadedForMainFrameOnly" now has correct name.

Jamie Birch преди 4 години
родител
ревизия
14de90b098
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      ios/RNCWebViewManager.m

+ 1
- 1
ios/RNCWebViewManager.m Целия файл

@@ -53,7 +53,7 @@ RCT_EXPORT_VIEW_PROPERTY(onContentProcessDidTerminate, RCTDirectEventBlock)
53 53
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScript, NSString)
54 54
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptBeforeContentLoaded, NSString)
55 55
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptForMainFrameOnly, BOOL)
56
-RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptForMainFrameOnlyBeforeContentLoaded, BOOL)
56
+RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptBeforeContentLoadedForMainFrameOnly, BOOL)
57 57
 RCT_EXPORT_VIEW_PROPERTY(javaScriptEnabled, BOOL)
58 58
 RCT_EXPORT_VIEW_PROPERTY(allowFileAccessFromFileURLs, BOOL)
59 59
 RCT_EXPORT_VIEW_PROPERTY(allowsInlineMediaPlayback, BOOL)