You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
567 B
18 lines
567 B
namespace ShoopNCook;
|
|
using Microsoft.Maui.Controls;
|
|
using Models;
|
|
using Endpoint;
|
|
using ShoopNCook.Controllers;
|
|
using ShoopNCook.Pages;
|
|
|
|
public partial class ConnectAppShell : Shell
|
|
{
|
|
public ConnectAppShell(ConnectionObserver observer, IAuthService accounts)
|
|
{
|
|
ConnectionController controller = new ConnectionController(observer, accounts);
|
|
InitializeComponent();
|
|
LoginPage.ContentTemplate = new DataTemplate(() => new LoginPage(controller));
|
|
RegisterPage.ContentTemplate = new DataTemplate(() => new RegisterPage(controller));
|
|
}
|
|
}
|