Skip to content

Instantly share code, notes, and snippets.

View rros's full-sized avatar

Robert Ros rros

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rros on github.
  • I am rros (https://keybase.io/rros) on keybase.
  • I have a public key ASARlQSOO4gKdPvoDOgfxrJMJy7DJ40qTtfbj8ktRT6n6Qo

To claim this, I am signing this object:

protected async Task NavigationPopToRootAsync()
{
// Popping pages only makes sense if there are at least 2 pages on the stack.
if (this.Navigation.NavigationStack.Count < 2)
{
return;
}
// Workaround for the issue in Xamarin.Form on Windows Phone when calling PopToRootAsync()
// see: https://bugzilla.xamarin.com/show_bug.cgi?id=43298