Na, majd otthon ...
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
namespace WorkFlowCheck.MAUI
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using WorkFlowCheck.MAUI.Services;
|
||||
|
||||
namespace WorkFlowCheck.MAUI
|
||||
{
|
||||
public partial class App : Application
|
||||
{
|
||||
public App()
|
||||
public App(IServiceProvider serviceProvider)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
MainPage = new AppShell();
|
||||
//MainPage = new AppShell();
|
||||
var mainPage = new MainPage();
|
||||
mainPage.Initialize(serviceProvider.GetRequiredService<IUserService>());
|
||||
MainPage = mainPage;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user