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();
//MainPage = new NavigationPage(new MainPage());
MainPage = new AppShell();
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 !");
Navigation.PushAsync(new SetPlayers());
}

@ -9,8 +9,8 @@ public partial class GoBack : ContentView
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