summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r--Xamarin.Forms.Platform.Android/AppCompat/FragmentContainer.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Xamarin.Forms.Platform.Android/AppCompat/FragmentContainer.cs b/Xamarin.Forms.Platform.Android/AppCompat/FragmentContainer.cs
index c44d711f..3931e207 100644
--- a/Xamarin.Forms.Platform.Android/AppCompat/FragmentContainer.cs
+++ b/Xamarin.Forms.Platform.Android/AppCompat/FragmentContainer.cs
@@ -119,18 +119,18 @@ namespace Xamarin.Forms.Platform.Android.AppCompat
public override void OnPause()
{
- Page currentPage = (Application.Current.MainPage as IPageContainer<Page>)?.CurrentPage;
- if (currentPage == null || currentPage == PageController)
- PageController?.SendDisappearing();
+ Page currentPage = (Application.Current.MainPage as IPageContainer<Page>)?.CurrentPage;
+ if (currentPage == null || currentPage == PageController)
+ PageController?.SendDisappearing();
base.OnPause();
}
public override void OnResume()
{
- Page currentPage = (Application.Current.MainPage as IPageContainer<Page>)?.CurrentPage;
- if (UserVisibleHint && (currentPage == null || currentPage == PageController))
- PageController?.SendAppearing();
+ Page currentPage = (Application.Current.MainPage as IPageContainer<Page>)?.CurrentPage;
+ if (UserVisibleHint && (currentPage == null || currentPage == PageController))
+ PageController?.SendAppearing();
base.OnResume();
}