From 9b529fe87ac67da841e12e904b836902d36a5b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=97=88=EA=B0=95=ED=98=B8/Common=20Platform=20Lab=28SR?= =?UTF-8?q?=29/Principal=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Fri, 3 Sep 2021 08:00:09 +0900 Subject: [PATCH] [Tizen] Add support for JS root components in BlazorWebView (#151) --- src/BlazorWebView/src/Maui/Tizen/BlazorWebViewHandler.Tizen.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/BlazorWebView/src/Maui/Tizen/BlazorWebViewHandler.Tizen.cs b/src/BlazorWebView/src/Maui/Tizen/BlazorWebViewHandler.Tizen.cs index b873cefd23c0..15a149c97313 100644 --- a/src/BlazorWebView/src/Maui/Tizen/BlazorWebViewHandler.Tizen.cs +++ b/src/BlazorWebView/src/Maui/Tizen/BlazorWebViewHandler.Tizen.cs @@ -102,8 +102,7 @@ private void StartWebViewCoreIfPossible() var resContentRootDir = Path.Combine(TApplication.Current.DirectoryInfo.Resource, contentRootDir); var mauiAssetFileProvider = new PhysicalFileProvider(resContentRootDir); - var jsComponents = new JSComponentConfigurationStore(); - _webviewManager = new TizenWebViewManager(this, NativeWebView, Services!, MauiDispatcher.Instance, mauiAssetFileProvider, jsComponents, hostPageRelativePath); + _webviewManager = new TizenWebViewManager(this, NativeWebView, Services!, MauiDispatcher.Instance, mauiAssetFileProvider, VirtualView.JSComponents, hostPageRelativePath); if (RootComponents != null) { foreach (var rootComponent in RootComponents)