dydxprotocol / v4-native-ios

Other
1 stars 0 forks source link

initialize settings dict with default values #135

Closed mike-dydx closed 6 months ago

mike-dydx commented 6 months ago

Description / Intuition

issue was that for a fresh app install, there were no default settings values which does not interact well with prefilling the settings screens. The result was that a user would initially have settings active (default behavior), but there was no value set in the SettingsStore so when user would navigate to settings screen, it would appear as off which is misleading.

the fix was to initialize settings store with default values

note in the recording, it exhibits what happens now when the app is uninstalled and reinstalled to imitate a fresh install


Before/After Screenshots or Videos

Before After


Type of Change