2
0

Flyout fixes

This commit is contained in:
2026-01-24 03:17:48 +00:00
parent ca48355f8a
commit 751b3d544d
10 changed files with 193 additions and 66 deletions

View File

@@ -1,13 +1,22 @@
// AppShell - Shell navigation with flyout menu
using System.Reflection;
using Microsoft.Maui.Controls;
namespace ShellDemo;
public partial class AppShell : Shell
{
public string AppVersion { get; }
public AppShell()
{
// Get app version from assembly
var version = Assembly.GetExecutingAssembly().GetName().Version;
AppVersion = $"OpenMaui v{version?.Major ?? 1}.{version?.Minor ?? 0}.{version?.Build ?? 0}";
BindingContext = this;
InitializeComponent();
// Register routes for push navigation (pages not in flyout)