From a9ba8e2770ed085a94a1ad5d7ff5804c41368221 Mon Sep 17 00:00:00 2001 From: Alan Chung Ma Date: Wed, 7 Aug 2024 03:43:32 -0400 Subject: [PATCH] fix broken image links (#395) --- Material.Avalonia.Demo/ViewModels/DialogDemoViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Material.Avalonia.Demo/ViewModels/DialogDemoViewModel.cs b/Material.Avalonia.Demo/ViewModels/DialogDemoViewModel.cs index 9ade0080..4b1aa3dd 100644 --- a/Material.Avalonia.Demo/ViewModels/DialogDemoViewModel.cs +++ b/Material.Avalonia.Demo/ViewModels/DialogDemoViewModel.cs @@ -113,7 +113,7 @@ await DialogHelper.CreateAlertDialog(new AlertDialogBuilderParams { private async IAsyncEnumerable Dialog4() { if (_window == null) yield break; // Open asset stream using assets.Open method. - await using var icon = AssetLoader.Open(new Uri("avares://Material.Demo/Assets/avalonia-logo.png")); + await using var icon = AssetLoader.Open(new Uri("avares://Material.Avalonia.Demo/Assets/avalonia-logo.png")); var dialog = DialogHelper.CreateAlertDialog(new AlertDialogBuilderParams { ContentHeader = "Welcome to use Material.Avalonia", @@ -285,7 +285,7 @@ private async IAsyncEnumerable DatePickerDialog() { private async IAsyncEnumerable CustomDialog() { if (_window == null) yield break; // Open asset stream using assets.Open method. - await using var icon = AssetLoader.Open(new Uri("avares://Material.Demo/Assets/avalonia-logo.png")); + await using var icon = AssetLoader.Open(new Uri("avares://Material.Avalonia.Demo/Assets/avalonia-logo.png")); var dialog = DialogHelper.CreateCustomDialog(new CustomDialogBuilderParams() { Content = new CustomDialogContentDemo(),