flutter_settings_screens icon indicating copy to clipboard operation
flutter_settings_screens copied to clipboard

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

Open raspberrypi9 opened this issue 2 years ago • 1 comments

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.

raspberrypi9 avatar Mar 08 '22 19:03 raspberrypi9

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

Should be fixed with #93

nyxkn avatar Jul 31 '22 12:07 nyxkn