AppSAV/MauiAppStock/AppShell.xaml.cs
brunetg 5b1a85b925 revert 0afc6f6a5d6f3e71a126bd53cf1e23d62dbd1a6b
revert revert a6913a5400bf5e54e6552927186b6c31f0529efb

revert merge fournisseur et mouvementStock
2025-05-10 01:17:21 +02:00

19 lines
456 B
C#

using MauiAppStock.Views;
namespace MauiAppStock;
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
}
protected override void OnNavigating(ShellNavigatingEventArgs args)
{
base.OnNavigating(args);
bool isMainPage = args.Target?.Location?.OriginalString == "//MainPage";
Shell.SetBackButtonBehavior(this, new BackButtonBehavior { IsVisible = !isMainPage });
}
}