Is there a bug when changing themes when app is deactivated and reactivated in Windows Phone Mango

后端 未结 1 1458
逝去的感伤
逝去的感伤 2020-12-18 10:13

Edit: This is under windows 7.1 RC. (This code did work for 7.0)

Lets say we open the application up in the dark theme. A line of code to detect this would be as fol

相关标签:
1条回答
  • 2020-12-18 10:30

    This is a known issue. The theme is applied to your application when it starts, so only then you are able to correctly detect whether the light or dark setting is used. Otherwise, you are stuck with the old theme until the application restarts.

    That being said, it is unlikely that the user will reproduce this behavior. If he switched from your app to phone settings, chances are he is not going back via the back button.

    0 讨论(0)
提交回复
热议问题