You’ve debugged state restoration before. Did appearance changes ever affect saved state?
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
When storing a user-selected theme override in app storage, relaunching the app after a system appearance change caused views to restore with stale environment values, resulting in duplicate renders and layout jumps. The fix was to delay state restoration until onAppear and read the current color scheme first, eliminating the
•1m watch time
Sort: