Ajout des routes pour la navigation

pull/97/head
Rémi LAVERGNE 11 months ago
parent fcb586b474
commit 57b4eba7fe

@ -1,10 +1,21 @@
namespace Trek_12 using Trek_12.Views;
namespace Trek_12
{ {
/// <summary>
/// Class for the route of the views and the navigation of the app.
/// </summary>
public partial class AppShell : Shell public partial class AppShell : Shell
{ {
public AppShell() public AppShell()
{ {
InitializeComponent(); InitializeComponent();
Routing.RegisterRoute(nameof(PageMenuPrincipal), typeof(PageMenuPrincipal));
Routing.RegisterRoute(nameof(PageProfils), typeof(PageProfils));
Routing.RegisterRoute(nameof(PageSelectMap), typeof(PageSelectMap));
Routing.RegisterRoute(nameof(PageRegles), typeof(PageRegles));
Routing.RegisterRoute(nameof(PageLeaderBoard), typeof(PageLeaderBoard));
} }
} }
} }

Loading…
Cancel
Save