let sfx : Bool = UserDefaults.standard.bool(forKey: SettingsBundleKeys.SFX)
Whenever the code runs. the value being retrieved is always false. As you can see in the image, the default value is YES (on application first install, it should be true until the user changes it to NO)
struct SettingsBundleKeys {
static let Reset = "RESET_APP_KEY"
static let Music = "MUSIC_PREFERENCE"
static let SFX = "SFX_PREFERENCE"
static let BuildVersionKey = "build_preference"
static let AppVersionKey = "version_preference"
}
