mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Fix theme not always being dark
This commit is contained in:
1 parent
4e700a7ced
commit
f3a13a2874
1 file changed
+2
@@ -15,6 +15,7 @@ using Artemis.WebClient.Updating.DryIoc;
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Styling;
|
||||
using DryIoc;
|
||||
using ReactiveUI;
|
||||
using Splat.DryIoc;
|
||||
@@ -33,6 +34,7 @@ public static class ArtemisBootstrapper
|
||||
|
||||
Utilities.PrepareFirstLaunch();
|
||||
|
||||
application.RequestedThemeVariant = ThemeVariant.Dark;
|
||||
_application = application;
|
||||
_container = new Container(rules => rules
|
||||
.WithMicrosoftDependencyInjectionRules()
|
||||
|
||||
Reference in new issue
Block a user