When opening the settings flyout, the wrong value is checked by default for the current theme. The displayed theme mode does not reflect the actual current theme of the app.
Expected behavior
The settings flyout should correctly display the current theme mode by having the appropriate current theme option (Light or Dark) checked by default.
How to reproduce it (as minimally and precisely as possible)
Open the application in Wide Layout.
Click on the "Get Started" button on the Welcome Page.
Click on the user name button in the top left corner of the app at the top of the menu to open the settings flyout.
Observe that the wrong value is checked by default for the current theme.
The displayed theme mode (Light or Dark) does not match the actual theme applied to the app.
Environment
Nuget Package:
Uno.Sdk: 5.2.161
UnoExtensionsVersion: 4.1.28
UnoToolkitVersion: 6.0.24
UnoThemesVersion: 5.0.13
Affected platform(s):
[X] All (Seeing it less frequently on Windows than on other platforms, but it can also happen on Windows with the current logic in place).
Current behavior
When opening the settings flyout, the wrong value is checked by default for the current theme. The displayed theme mode does not reflect the actual current theme of the app.
Expected behavior
The settings flyout should correctly display the current theme mode by having the appropriate current theme option (Light or Dark) checked by default.
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package:
Affected platform(s):
Additional information
Possible related issue: https://github.com/unoplatform/Uno.Samples/issues/778