Skip to content

Conversation

@TheRealVira
Copy link

I have moved the isVisible declaration outside the switch to enhance readability and reduce duplicate code. Since iconView is only true when textView isn't the assignment of iconView.isVisible is the inverse of textView.isVisible.

I have moved the isVisible declaration outside the switch to enhance readability and reduce duplicate code. Since iconView is only true when textView isn't the assignment of iconView.isVisible is the inverse of textView.isVisible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant