diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 55aa5fe..6acf5b1 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -455,7 +455,7 @@ public partial class MainWindow : Window if (_webViewReady) { - WebView.Source = new Uri(ch.Url); + if (_webViewReady) WebView.CoreWebView2.Navigate(ch.Url); else WebView.Source = new Uri(ch.Url); } else { @@ -465,7 +465,7 @@ public partial class MainWindow : Window { retryTimer.Stop(); if (_webViewReady && _currentChannel?.Kind == ChannelKind.Web) - WebView.Source = new Uri(ch.Url); + if (_webViewReady) WebView.CoreWebView2.Navigate(ch.Url); else WebView.Source = new Uri(ch.Url); }; retryTimer.Start(); }