Skip to content

Commit 1460711

Browse files
author
Denghui Yu
committed
comments fix
1 parent c9cc5e7 commit 1460711

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

specs/MultiProfile.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ void WebView_CoreWebView2InitializationCompleted(object sender, CoreWebView2Init
296296
MessageBox.Show($"Failed to create webview, because the profile's name has been marked as deleted, please use a different profile's name.");
297297
var dialog = new NewWindowOptionsDialog();
298298
dialog.CreationProperties = webView.CreationProperties;
299-
if (dialog.ShowDialog() == true)
299+
if (dialog.ShowDialog())
300300
{
301301
new MainWindow(dialog.CreationProperties).Show();
302302
}
@@ -314,12 +314,6 @@ private void WebViewProfile_Deleted(object sender, object e)
314314
Close();
315315
});
316316
}
317-
318-
void WebView_CoreWebView2InitializationCompleted(object sender, CoreWebView2InitializationCompletedEventArgs e)
319-
{
320-
321-
}
322-
323317
```
324318

325319
# API Details

0 commit comments

Comments
 (0)