pocket-casts-ios icon indicating copy to clipboard operation
pocket-casts-ios copied to clipboard

Synced Setting Bool defaults values should retain defaults when empty

Open bjtitus opened this issue 1 year ago • 0 comments

UserDefaults.bool(forKey:) returns false by default. In some cases, this is not the default value we want.

In SettingsStore.importUserDefaults, we want to check that a bool value exists before importing it.

bjtitus avatar Feb 21 '24 04:02 bjtitus