This commit is contained in:
Robert committed 2021-11-26 23:59:52 +01:00
1 parent f531c9d0d9
commit 955b223b35
6 files changed
+4 -6

No files matched your search

-1
View File
@@ -8,6 +8,5 @@
<Application.Styles>
<StyleInclude Source="avares://Artemis.UI/Styles/Artemis.axaml" />
<StyleInclude Source="avares://Artemis.UI.Shared/Styles/Artemis.axaml" />
</Application.Styles>
</Application>
+1 -1
View File
@@ -16,7 +16,7 @@ namespace Artemis.UI.Linux
public override void OnFrameworkInitializationCompleted()
{
ArtemisBootstrapper.Initialized();
ArtemisBootstrapper.Initialize();
}
}
}
-1
View File
@@ -8,6 +8,5 @@
<Application.Styles>
<StyleInclude Source="avares://Artemis.UI/Styles/Artemis.axaml" />
<StyleInclude Source="avares://Artemis.UI.Shared/Styles/Artemis.axaml" />
</Application.Styles>
</Application>
+1 -1
View File
@@ -16,7 +16,7 @@ namespace Artemis.UI.MacOS
public override void OnFrameworkInitializationCompleted()
{
ArtemisBootstrapper.Initialized();
ArtemisBootstrapper.Initialize();
}
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ namespace Artemis.UI.Windows
public override void OnFrameworkInitializationCompleted()
{
ArtemisBootstrapper.Initialized();
ArtemisBootstrapper.Initialize();
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
_applicationStateManager = new ApplicationStateManager(_kernel!, desktop.Args);
}
@@ -34,7 +34,7 @@ namespace Artemis.UI
return _kernel;
}
public static void Initialized()
public static void Initialize()
{
if (_application == null || _kernel == null)
throw new ArtemisUIException("UI not yet bootstrapped");