File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public async Task PopupPageT_Close_ShouldSetResultAndPopModalAsync()
166166
167167 await navigation . PushModalAsync ( popupPage ) ;
168168
169- await popupPage . Close ( expectedResult , CancellationToken . None ) ;
169+ await popupPage . CloseAsync ( expectedResult , CancellationToken . None ) ;
170170 var actualResult = await taskCompletionSource . Task ;
171171
172172 // Assert
@@ -213,7 +213,7 @@ public void PopupPageT_Close_ShouldThrowOperationCanceledException_WhenTokenIsCa
213213 cts . Cancel ( ) ;
214214
215215 // Act
216- Func < Task > act = async ( ) => await popupPage . Close ( result , cts . Token ) ;
216+ Func < Task > act = async ( ) => await popupPage . CloseAsync ( result , cts . Token ) ;
217217
218218 // Assert
219219 act . Should ( ) . ThrowAsync < OperationCanceledException > ( ) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public PopupPage(View view, IPopupOptions popupOptions)
1616 {
1717 }
1818
19- public Task Close ( PopupResult < T > result , CancellationToken token = default ) => base . CloseAsync ( result , token ) ;
19+ public Task CloseAsync ( PopupResult < T > result , CancellationToken token = default ) => base . CloseAsync ( result , token ) ;
2020}
2121
2222partial class PopupPage : ContentPage , IQueryAttributable
You can’t perform that action at this time.
0 commit comments