Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Revert "Fix crash navigating in Shell (#14577)" (#14730)
Browse files Browse the repository at this point in the history
This reverts commit 81b5238.
  • Loading branch information
jfversluis committed Oct 14, 2021
1 parent 23858bd commit 7958ff9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Xamarin.Forms.Core/Shell/ShellNavigationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,7 @@ public async Task GoToAsync(ShellNavigationParameters shellNavigationParameters)
}
else
{
await Device.InvokeOnMainThreadAsync(() =>
{
return _shell.CurrentItem.CurrentItem.GoToAsync(navigationRequest, queryData, animate, isRelativePopping);
});
await _shell.CurrentItem.CurrentItem.GoToAsync(navigationRequest, queryData, animate, isRelativePopping);
}

(_shell as IShellController).UpdateCurrentState(source);
Expand Down

0 comments on commit 7958ff9

Please sign in to comment.