25 lines
498 B
C#
25 lines
498 B
C#
using WguApp.Services;
|
|
using WguApp.Views;
|
|
|
|
namespace WguApp;
|
|
|
|
public partial class App : Application
|
|
{
|
|
|
|
private HomePage _homePage = new();
|
|
private NavigationPage _navPage;
|
|
|
|
public App()
|
|
{
|
|
InitializeComponent();
|
|
|
|
if (Current != null) Current.UserAppTheme = AppTheme.Dark;
|
|
|
|
_navPage = new NavigationPage(_homePage);
|
|
}
|
|
|
|
protected override Window CreateWindow(IActivationState? activationState)
|
|
{
|
|
return new Window(_navPage);
|
|
}
|
|
} |