Task INavigation.PushModalAsync(Page modal, bool animated)
        {
#pragma warning disable CS0618 // Type or member is obsolete
            // The Platform property is no longer necessary, but we have to set it because some third-party
            // library might still be retrieving it and using it
            modal.Platform = _platformRenderer.Platform;
#pragma warning restore CS0618 // Type or member is obsolete

            return(_modalTracker.PushAsync(modal, _animateModals && animated));
        }
示例#2
0
 Task INavigation.PushModalAsync(Page modal, bool animated)
 {
     modal.Platform = _platformRenderer.Platform;
     return(_modalTracker.PushAsync(modal, _animateModals && animated));
 }
示例#3
0
 Task INavigation.PushModalAsync(Page modal, bool animated)
 {
     return(_modalTracker.PushAsync(modal, _animateModals && animated));
 }