Browse Source

自定义起始页

CaptB 4 months ago
parent
commit
f9a25fb03e
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Form1.cs

+ 0 - 2
Form1.cs

@@ -22,8 +22,6 @@ namespace EdgeVoyager
         async void InitializeAsync()
         {
             await webView21.EnsureCoreWebView2Async(null);
-            await webView21.EnsureCoreWebView2Async(null);
-            webView21.CoreWebView2.Profile.PreferredColorScheme = CoreWebView2PreferredColorScheme.Light;
             webView21.CoreWebView2.NewWindowRequested += CoreWebView2_NewWindowRequested;
             if (Settings1.Default.firstwindow == true)
             {