Update copyright header

This commit is contained in:
Paddy Xu
2021-01-10 20:11:30 +01:00
parent 26f9044c6c
commit 8ee6c770c4
3 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
// Copyright © 2021 Paddy Xu and mooflu // Copyright © 2021 Paddy Xu and Frank Becker
// //
// This file is part of QuickLook program. // This file is part of QuickLook program.
// //

View File

@@ -1,4 +1,4 @@
// Copyright © 2021 Paddy Xu and mooflu // Copyright © 2021 Paddy Xu and Frank Becker
// //
// This file is part of QuickLook program. // This file is part of QuickLook program.
// //

View File

@@ -1,4 +1,4 @@
// Copyright © 2021 Paddy Xu and mooflu // Copyright © 2021 Paddy Xu and Frank Becker
// //
// This file is part of QuickLook program. // This file is part of QuickLook program.
// //
@@ -64,12 +64,12 @@ namespace QuickLook.Plugin.HtmlViewer
return; return;
_webView.Source = uri; _webView.Source = uri;
_currentUri = _webView?.Source; _currentUri = _webView.Source;
} }
public void NavigateToHtml(string html) public void NavigateToHtml(string html)
{ {
_webView.EnsureCoreWebView2Async() _webView?.EnsureCoreWebView2Async()
.ContinueWith(_ => Dispatcher.Invoke(() => _webView?.NavigateToString(html))); .ContinueWith(_ => Dispatcher.Invoke(() => _webView?.NavigateToString(html)));
} }