Fixes for pages

This commit is contained in:
2026-01-24 02:37:37 +00:00
parent 7830356f24
commit ed89b6494d
5 changed files with 40 additions and 21 deletions

View File

@@ -500,7 +500,9 @@ public class SkiaShell : SkiaLayoutView
}
}
}
if (_selectedSectionIndex >= 0 && _selectedSectionIndex < _sections.Count)
// Only update current content if there are no pushed pages on the navigation stack
// Pushed pages are handled separately by LinuxApplication.RefreshViewTheme
if (_navigationStack.Count == 0 && _selectedSectionIndex >= 0 && _selectedSectionIndex < _sections.Count)
{
var section = _sections[_selectedSectionIndex];
if (_selectedItemIndex >= 0 && _selectedItemIndex < section.Items.Count)