Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Update PreferencesUtil.java #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

benjaminvanrenterghem
Copy link

Trims the preference and adds a check for "true" and "false" instead of just 0 and 1.

The preferences documentation notes the options as true and false and errors may go unnoticed due to the catch-blocks.

If you'd like this to be merged into a branch as it may not warrant a new version - please let me know.

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant