Replies: 1 comment 3 replies
-
|
@lebhero Similar code works for me: Application.Current.Styles.OfType<FluentAvaloniaTheme>().First().CustomAccentColor = AccentColor;So I wonder when do you call this? If you do it inside the constructor, maybe this could be the issue as not all is setup. If so, try to wrap it in |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Will not change until i call :
Application.Current!.RequestedThemeVariantAd set the
RequestedThemeVariantto a value that is different to the current one.Is this a bug or am i doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions