From 7d2a8ae882493c38f019ffde20955cc3a75ac54a Mon Sep 17 00:00:00 2001 From: Dan Miranda Date: Fri, 23 Aug 2024 09:32:14 -0700 Subject: [PATCH] Update opening-a-dialog.md Object implementation generates error when copy pasting the code to sample, modified to use the interface that is the required type for ViewModel!.ShowDialog.RegisterHandler --- docs/tutorials/music-store-app/opening-a-dialog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/music-store-app/opening-a-dialog.md b/docs/tutorials/music-store-app/opening-a-dialog.md index f6906f77b..0b72ca9f5 100644 --- a/docs/tutorials/music-store-app/opening-a-dialog.md +++ b/docs/tutorials/music-store-app/opening-a-dialog.md @@ -170,7 +170,7 @@ namespace Avalonia.MusicStore.Views action(ViewModel!.ShowDialog.RegisterHandler(DoShowDialogAsync))); } - private async Task DoShowDialogAsync(InteractionContext interaction) { var dialog = new MusicStoreWindow();