Skip to content

Commit

Permalink
[Tizen] Add support for JS root components in BlazorWebView (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiejava committed Oct 12, 2021
1 parent 2c81553 commit 6a85f8a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a85f8a

Please sign in to comment.