Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't See Effect of Flipping SwitchSettingsTile Without Exiting and Reentering Settings #81

Open
raspberrypi9 opened this issue Mar 8, 2022 · 1 comment

Comments

@raspberrypi9
Copy link

I have a top level SettingsScreen, and it contains two SimpleSettingsTiles. One of the SimpleSettingsTiles contains a SwitchSettingsTile whose position is supposed to affect how information is displayed when the other SimpleSettingsTile is being viewed, and this does not work. The only way that I am able to see the effect of the switch being switched to the other position is by completely exiting settings, going back to my app, and then reentering settings.

Instead, I would like to be able to:

  • Enter settings
  • Open settings tile 2
  • See that the text displayed looks a certain way
  • Back out to the main settings screen
  • Open settings tile 1
  • flip the switch
  • Back out to the main settings screen
  • Open Settings tile 2
  • See that the text displayed looks different than it did before because I flipped the switch

Based on the debugging that I have done, it seems like the code to render the settings tiles is getting called when I initially enter settings and not when I actually click to display the settings tile that contains the text that depends on the SwitchSettingsTile.

Thank you for your help.

@nyxkn
Copy link
Contributor

nyxkn commented Jul 31, 2022

This is probably the same issue as #98 and #90

Should be fixed with #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants