Fix settings default values for preferences (#1828)
At some point settings DSL was refactored to first add a preference and then run the builder. We shouldn't add a preference to the hierarchy without setting a key for the preference first because preference gets it's default value in `onAttachedToHierarchy()` and if the key is not set then no default value will be set either. This commit changes the order to execute builder (and set the key) first and and preference to the point later.main
parent
3375b512d9
commit
fb867c928c
Loading…
Reference in new issue