Skip to content

Commit

Permalink
- fix tests for reals
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Jan 19, 2023
1 parent 02b4ed8 commit cd47f5c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ public async void CompleteCurrentNavigation()
var newStack = CurrentNavigationRequest.NavigationStack.ToList();
CurrentNavigationRequest = null;

var source = _navigationSource;
_navigationSource = null;

if ((this as IElementHandler).VirtualView is IStackNavigation sn)
sn.NavigationFinished(newStack);

var source = _navigationSource;
_navigationSource = null;

await Task.Delay(1);
source.SetResult();
Expand Down

0 comments on commit cd47f5c

Please sign in to comment.