mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 21:38:38 +00:00
Fix theme not always being dark
This commit is contained in:
parent
4e700a7ced
commit
f3a13a2874
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user