Skip to content

Commit 8791dbe

Browse files
Fixed desktop light theme
1 parent b9ee22c commit 8791dbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Eclair/App.axaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ public override void Initialize()
2929
Config.LoadResources();
3030

3131
AvaloniaXamlLoader.Load(this);
32+
33+
if (!OperatingSystem.IsAndroid())
34+
RequestedThemeVariant = Avalonia.Styling.ThemeVariant.Dark;
3235
}
3336

3437
private void UnhandledException(object sender, UnhandledExceptionEventArgs e)

0 commit comments

Comments
 (0)