fix build break from using await
instead of co_await
(#1009)
This commit is contained in:
parent
40b557a4b6
commit
42e87ed3e3
|
@ -211,7 +211,7 @@ namespace winrt::TerminalApp::implementation
|
|||
_root.Children().Append(dialog);
|
||||
|
||||
// Display the dialog.
|
||||
Controls::ContentDialogResult result = await dialog.ShowAsync(Controls::ContentDialogPlacement::Popup);
|
||||
Controls::ContentDialogResult result = co_await dialog.ShowAsync(Controls::ContentDialogPlacement::Popup);
|
||||
|
||||
// After the dialog is dismissed, the dialog lock (held by `lock`) will
|
||||
// be released so another can be shown.
|
||||
|
|
Loading…
Reference in a new issue