Skip to content

Conversation

@bryanvrgsc
Copy link

  • Add validation in setter to clamp between 10% and 100%
  • Update tests to reflect new clamping behavior
  • Resolves TODOs in KYAUserDefaultsKeysTests

This prevents invalid threshold values from being stored, ensuring the battery monitoring feature works correctly.

- Add validation in setter to clamp between 10% and 100%
- Update tests to reflect new clamping behavior
- Resolves TODOs in KYAUserDefaultsKeysTests

This prevents invalid threshold values from being stored,
ensuring the battery monitoring feature works correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant