test for the app.xaml
continuous-integration/drone/push Build is passing Details

master
rportet 11 months ago
parent 1009c742f8
commit ad0e5be725

@ -19,6 +19,7 @@ namespace Qwirkle
InitializeComponent(); InitializeComponent();
//MainPage = new NavigationPage(new MainPage());
MainPage = new AppShell(); MainPage = new AppShell();
Routing.RegisterRoute(nameof(SetPlayers), typeof(SetPlayers)); Routing.RegisterRoute(nameof(SetPlayers), typeof(SetPlayers));

@ -20,6 +20,7 @@ namespace Qwirkle
{ {
DisplayAlert("Game notification", "Enter minimun 2 player and max 4 player !", "Ok ! Lets's go !"); DisplayAlert("Game notification", "Enter minimun 2 player and max 4 player !", "Ok ! Lets's go !");
Navigation.PushAsync(new SetPlayers()); Navigation.PushAsync(new SetPlayers());
} }

@ -9,8 +9,8 @@ public partial class GoBack : ContentView
InitializeComponent(); InitializeComponent();
} }
private async void Button_OnClicked(object? sender, EventArgs e) private void Button_OnClicked(object? sender, EventArgs e)
{ {
await Navigation.PopToRootAsync(); Navigation.PopAsync();
} }
} }
Loading…
Cancel
Save