Skip to content

Commit

Permalink
fix broken image links (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanssitis authored Aug 7, 2024
1 parent cabce7d commit a9ba8e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Material.Avalonia.Demo/ViewModels/DialogDemoViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ await DialogHelper.CreateAlertDialog(new AlertDialogBuilderParams {
private async IAsyncEnumerable<string> 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",
Expand Down Expand Up @@ -285,7 +285,7 @@ private async IAsyncEnumerable<string> DatePickerDialog() {
private async IAsyncEnumerable<string> 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(),
Expand Down

0 comments on commit a9ba8e2

Please sign in to comment.