Skip to content

Commit d1dfc66

Browse files
Use async/await
1 parent 6915726 commit d1dfc66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/CommunityToolkit.Maui.Sample/Views/Popups/TransparentPopup.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ public partial class TransparentPopup : Maui.Views.Popup
44
{
55
public TransparentPopup() => InitializeComponent();
66

7-
void CloseButtonClicked(object? sender, EventArgs args)
7+
async void CloseButtonClicked(object? sender, EventArgs args)
88
{
9-
CloseAsync();
9+
await CloseAsync();
1010
}
1111
}

0 commit comments

Comments
 (0)