Skip to content

Readability - Rebase against master #1386

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pjrobertson
Copy link

See #1198 for original PR

This is a rework of #1198. Hopefully @DrKLO this can be merged? :-)


I'm hoping to make some additions to the drawer in the future, but at first I thought it was worth improving the readability of the file.

I have changed to using constants for the view types and also to using a switch - using a switch should make it easier to add new rows in the future (and it is also faster)

@pjrobertson pjrobertson mentioned this pull request Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant