summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/AppCompat
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Android/AppCompat')
-rw-r--r--Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs
index 396fe130..b2b9108a 100644
--- a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs
@@ -607,8 +607,6 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
transaction.Show(toShow);
else
transaction.Add(Id, toShow);
-
- ((Platform)Element.Platform).NavAnimationInProgress = false;
}
else
{
@@ -617,7 +615,6 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
transaction.Hide(currentToHide);
transaction.Add(Id, fragment);
fragments.Add(fragment);
- ((Platform)Element.Platform).NavAnimationInProgress = false;
}
}
transaction.Commit();
@@ -657,6 +654,7 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
}
Context.HideKeyboard(this);
+ ((Platform)Element.Platform).NavAnimationInProgress = false;
// 200ms is how long the animations are, and they are "reversible" in the sense that starting another one slightly before it's done is fine