Na, majd otthon ...

This commit is contained in:
Iván Szabó
2025-01-06 12:49:34 +01:00
parent a80870b5c3
commit 92801fefb9
11 changed files with 106 additions and 18 deletions
+10 -3
View File
@@ -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;
}
}
}