Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default double-tap behavior for knobs and handle orientation changes #2

Merged
merged 2 commits into from
Dec 28, 2017

Conversation

TheDorkKnightRises
Copy link
Contributor

Before this change, on first launch double tapping the knobs does nothing even though the settings switch is enabled, because the default preference value returned is false.

The checkbox in Settings page is checked by default so the preference should return a default value of true

Also forced portrait orientation to prevent recreating MainActivity on rotation. As mentioned in commit message:

Could be treated as a temporary fix if proper landscape support is planned, in which case onSaveInstanceState must be overridden in MainActivity

The checkbox in Settings page is checked by default so the preference should return a default value of true
Could be treated as a temporary fix if proper landscape support is planned, in which case onSaveInstanceState must be overridden in MainActivity
@rk2810 rk2810 merged commit 582f3d0 into BRoy98:dev Dec 28, 2017
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.

None yet

2 participants