Skip to content

Commit e1eb6bd

Browse files
committed
🎨 fixs confict
1 parent a7f2f43 commit e1eb6bd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Avalonia.WebView2/Controls/WebView2.VisualTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected override void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e)
7474
{
7575
viewHandler = CreateViewHandler(this);
7676
var view = viewHandler.CreatePlatformView();
77-
SetValue(view);
77+
SetValue(this);
7878
Child = viewHandler;
7979
}
8080
#elif IOS || MACCATALYST || (MACOS && !USE_DEPRECATED_WEBVIEW)

src/Avalonia.WebView2/Platforms/Droid/Controls/WebView2.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ public AWebView? AWebView
152152
}
153153
}
154154

155-
AndroidWebViewControlHandle? platformHandle;
156-
157155

158156

159157
/// <summary>

0 commit comments

Comments
 (0)