Przeglądaj źródła

Example app tested

Tero Paananen 4 lat temu
rodzic
commit
562ff097c8

+ 1
- 0
example/windows/WebViewWindows.sln Wyświetl plik

@@ -45,6 +45,7 @@ EndProject
45 45
 Global
46 46
 	GlobalSection(SharedMSBuildProjectFiles) = preSolution
47 47
 		..\..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
48
+		..\..\node_modules\react-native-windows\ReactWindowsCore\ReactWindowsCore.vcxitems*{11c084a3-a57c-4296-a679-cac17b603144}*SharedItemsImports = 4
48 49
 		..\..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
49 50
 		..\..\node_modules\react-native-windows\Microsoft.ReactNative.SharedManaged\Microsoft.ReactNative.SharedManaged.projitems*{67a1076f-7790-4203-86ea-4402ccb5e782}*SharedItemsImports = 13
50 51
 		..\..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{729d9af8-cd9e-4427-9f6c-fb757e287729}*SharedItemsImports = 4

+ 0
- 2
windows/ReactNativeWebView/ReactWebViewManager.cpp Wyświetl plik

@@ -46,10 +46,8 @@ namespace winrt::ReactNativeWebView::implementation {
46 46
     void ReactWebViewManager::UpdateProperties(
47 47
         FrameworkElement const& view,
48 48
         IJSValueReader const& propertyMapReader) noexcept {
49
-
50 49
         auto control = view.try_as<winrt::UserControl>();
51 50
         auto content = control.Content();
52
-
53 51
         if (auto webView = content.try_as<winrt::WebView>()) {
54 52
             const JSValueObject& propertyMap = JSValueObject::ReadFrom(propertyMapReader);
55 53