Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
remove console write line
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Jul 29, 2019
1 parent 124b7d4 commit 5a1830b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Prism.Plugin.Popups/PopupPageNavigationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,12 @@ protected override async Task<Page> DoPop(INavigation navigation, bool useModalN

protected override async Task DoPush(Page currentPage, Page page, bool? useModalNavigation, bool animated, bool insertBeforeLast = false, int navigationOffset = 0)
{
Console.WriteLine("Doing Push...");
switch (page)
{
case PopupPage popup:
Console.WriteLine("Doing Rg.Plugin.Popups Push for PopupPage");
await _popupNavigation.PushAsync(popup, animated);
break;
default:
Console.WriteLine("Doing default Prism Push with Xamarin.Forms");
if (_popupNavigation.PopupStack.Any())
await _popupNavigation.PopAllAsync(animated);
await base.DoPush(currentPage, page, useModalNavigation, animated, insertBeforeLast, navigationOffset);
Expand Down

0 comments on commit 5a1830b

Please sign in to comment.