DisplayAlert() does not reflect Windows theme changes #26878
Labels
area-theme
Themes, theming
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
DisplayAlert() will not immediately reflect Win11 theme changes. User must close/reopen app for theme changes to be reflected.
Steps to Reproduce
Create Maui app with button that calls a method containing
With the app running, change theme light/dark and see colors do not change. Restart app and verify colors have now been changed.
Link to public reproduction project repository
No response
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
net9.0-windows10.0.19041.0
Did you find any workaround?
Restarting the app is the only work-around found
Relevant log output
The text was updated successfully, but these errors were encountered: