Skip to content

Conversation

@azimin
Copy link

@azimin azimin commented Jun 23, 2019

IMPORTANT localization is missing for this task

Not sure it can be merged (maybe there are a specific reason), but me and a lot of my friends get annoyed when there are a "!" arrow in tab bar when we disable notification in settings with a specific reason.

return 3
case .permissionEnable:
return 4
case .messageHeader:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This switch statement needs some refactoring :) Otherwise diff is not readable.

Copy link
Author

@azimin azimin Jun 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally agree, one of solution is to get rid of “= X” and give Swift do Int enumeration automatically base on case position.

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.

2 participants