From 4bfa5d3adc053f62a6aea2ea3b6caa524739ab5a Mon Sep 17 00:00:00 2001 From: chrisbell Date: Sat, 3 Jan 2026 20:48:50 -0600 Subject: [PATCH] Remove logs in Navigation class --- .../CritterFolio/CritterFolio/Navigation.axaml.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/critterfolio/CritterFolio/CritterFolio/Navigation.axaml.cs b/critterfolio/CritterFolio/CritterFolio/Navigation.axaml.cs index 72d9937..a7f109a 100644 --- a/critterfolio/CritterFolio/CritterFolio/Navigation.axaml.cs +++ b/critterfolio/CritterFolio/CritterFolio/Navigation.axaml.cs @@ -76,32 +76,17 @@ public partial class Navigation : UserControl public void PushPage(Page page) { - Console.WriteLine($"Adding page {page.Title} to the page stack"); _pageStack.Push(page); RefreshPage(); - PrintPageStack(); } public void PopPage() { if (_pageStack.Count == 1) return; - Console.WriteLine($"Removing page {CurrentPage?.Title ?? "??"} from the page stack"); _pageStack.Pop(); RefreshPage(); - PrintPageStack(); } - private void PrintPageStack() - { - var i = 0; - foreach (var page in _pageStack) - { - Console.WriteLine($"{i} - {page.Title}"); - i++; - } - } - - private void RefreshPage() { if (_pageContainer == null || CurrentPage is null) return;