@ -54,7 +54,7 @@ public partial class SetPlayers : ContentPage
game.GiveTilesToPlayers();
game.SetNextPlayer();
Shell.Current.GoToAsync("Gameboard");
//Navigation.PushAsync(new Gameboard());
}
@ -1,4 +1,5 @@
using CommunityToolkit.Maui.Views;
using Microsoft.Maui.Controls;
using QwirkleClassLibrary.Games;
using System.Collections.ObjectModel;
@ -32,7 +33,8 @@ public partial class PopUpEndGame : Popup
public async void OnButtonNextClick(object sender, EventArgs e)
{
await CloseAsync();
Close();
await Shell.Current.GoToAsync("MainPage");