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 Apr 7, 2022
1 parent 3d02911 commit 65c959c
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 65c959c

Please sign in to comment.