Adding final project to dev branch
This commit is contained in:
25
WguApp/App.xaml.cs
Normal file
25
WguApp/App.xaml.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user