diff --git a/Screenbox.Core/Services/LivelyWallpaperService.cs b/Screenbox.Core/Services/LivelyWallpaperService.cs index 0f842b411..0b5ab87ef 100644 --- a/Screenbox.Core/Services/LivelyWallpaperService.cs +++ b/Screenbox.Core/Services/LivelyWallpaperService.cs @@ -135,7 +135,6 @@ await visualizersFolder.CreateFolderAsync(Path.GetRandomFileName(), private static bool TrySanitizeUrl(string address, out Uri uri) { - uri = null; try { try @@ -154,6 +153,7 @@ private static bool TrySanitizeUrl(string address, out Uri uri) } catch { + uri = new Uri("about:blank"); return false; } return true; diff --git a/Screenbox/Controls/AudioTrackSubtitlePicker.xaml b/Screenbox/Controls/AudioTrackSubtitlePicker.xaml index 35b98e79d..5b0810509 100644 --- a/Screenbox/Controls/AudioTrackSubtitlePicker.xaml +++ b/Screenbox/Controls/AudioTrackSubtitlePicker.xaml @@ -2,6 +2,7 @@ x:Class="Screenbox.Controls.AudioTrackSubtitlePicker" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:contract14Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,14)" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:interactions="using:Screenbox.Controls.Interactions" xmlns:interactivity="using:Microsoft.Xaml.Interactivity" @@ -38,7 +39,7 @@