Simnico99 / MicaWPF

This is a library to make Mica available in WPF.
MIT License
206 stars 11 forks source link

[Bug]: Theme not applying on start. #95

Closed Simnico99 closed 9 months ago

Simnico99 commented 9 months ago

Describe the bug

The theme is not applying on the application startup its set to auto whenever set or not in App.xaml

Steps to reproduce the bug

  1. Create a new MicaWPF application.
  2. Make your Windows dark theme
  3. Set the App.Xaml ThemeDictionnary to light

Expected behavior

The theme should be the one set in the ThemeDictionnary property.

Screenshots

N/A

Windows version

Insider Build (xxxxx), Windows 11 version 23H2 (22631, 2023 Update), Windows 11 version 22H2 (22621, 2022 Update), Windows 11 version 21H2 (22000), Windows 10 version 22H2 (19045, 2022 Update), Windows 10 version 21H2 (19044, November 2021 Update), Windows 10 version 21H1 (19043, May 2021 Update), Windows 10 version 20H2 (19042, October 2020 Update), Windows 10 version 2004 (19041, May 2020 Update), Windows 10 version 1909 (18363, November 2019 Update), Windows 10 version 1903 (18362, May 2019 Update), Windows 10 version 1809 (17763, October 2018 Update)

.Net Version

.Net Framework 4.6.x, .Net Framework 4.7.x, .Net Framework 4.8.x, .NET Standard 1.x, .NET Standard 2.x, .NET Core 1.x, .NET Core 2.x, .NET Core 3.x, .NET 5.x, .NET 6.x, .NET 7.x, .NET 8.x

Additional context

No response