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

Update PreferencesUtil.java#49

Open
edpuhs wants to merge 2 commits inton-y-z-o:masterfrom
codelabde:improvements
Open

Update PreferencesUtil.java#49
edpuhs wants to merge 2 commits inton-y-z-o:masterfrom
codelabde:improvements

Conversation

@edpuhs
Copy link

@edpuhs edpuhs commented Dec 15, 2023

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.

1 participant