mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Cleanup
This commit is contained in:
parent
f531c9d0d9
commit
955b223b35
@ -8,6 +8,5 @@
|
|||||||
|
|
||||||
<Application.Styles>
|
<Application.Styles>
|
||||||
<StyleInclude Source="avares://Artemis.UI/Styles/Artemis.axaml" />
|
<StyleInclude Source="avares://Artemis.UI/Styles/Artemis.axaml" />
|
||||||
<StyleInclude Source="avares://Artemis.UI.Shared/Styles/Artemis.axaml" />
|
|
||||||
</Application.Styles>
|
</Application.Styles>
|
||||||
</Application>
|
</Application>
|
||||||
@ -16,7 +16,7 @@ namespace Artemis.UI.Linux
|
|||||||
|
|
||||||
public override void OnFrameworkInitializationCompleted()
|
public override void OnFrameworkInitializationCompleted()
|
||||||
{
|
{
|
||||||
ArtemisBootstrapper.Initialized();
|
ArtemisBootstrapper.Initialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -8,6 +8,5 @@
|
|||||||
|
|
||||||
<Application.Styles>
|
<Application.Styles>
|
||||||
<StyleInclude Source="avares://Artemis.UI/Styles/Artemis.axaml" />
|
<StyleInclude Source="avares://Artemis.UI/Styles/Artemis.axaml" />
|
||||||
<StyleInclude Source="avares://Artemis.UI.Shared/Styles/Artemis.axaml" />
|
|
||||||
</Application.Styles>
|
</Application.Styles>
|
||||||
</Application>
|
</Application>
|
||||||
@ -16,7 +16,7 @@ namespace Artemis.UI.MacOS
|
|||||||
|
|
||||||
public override void OnFrameworkInitializationCompleted()
|
public override void OnFrameworkInitializationCompleted()
|
||||||
{
|
{
|
||||||
ArtemisBootstrapper.Initialized();
|
ArtemisBootstrapper.Initialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -23,7 +23,7 @@ namespace Artemis.UI.Windows
|
|||||||
|
|
||||||
public override void OnFrameworkInitializationCompleted()
|
public override void OnFrameworkInitializationCompleted()
|
||||||
{
|
{
|
||||||
ArtemisBootstrapper.Initialized();
|
ArtemisBootstrapper.Initialize();
|
||||||
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||||
_applicationStateManager = new ApplicationStateManager(_kernel!, desktop.Args);
|
_applicationStateManager = new ApplicationStateManager(_kernel!, desktop.Args);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,7 +34,7 @@ namespace Artemis.UI
|
|||||||
return _kernel;
|
return _kernel;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Initialized()
|
public static void Initialize()
|
||||||
{
|
{
|
||||||
if (_application == null || _kernel == null)
|
if (_application == null || _kernel == null)
|
||||||
throw new ArtemisUIException("UI not yet bootstrapped");
|
throw new ArtemisUIException("UI not yet bootstrapped");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user