Skip to content

Conversation

@liveHarshit
Copy link
Member

Fixes #1750
For not logged in -

For logged in -

@auto-label auto-label bot added the feature label May 12, 2019
if (profileViewModel.isLoggedIn()) {
handleLayoutVisibility(true)
} else {
handleLayoutVisibility(false)
Copy link
Contributor

Choose a reason for hiding this comment

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

if (profileViewModel.isLoggedIn()) {
handleLayoutVisibility(true)
} else {
handleLayoutVisibility(false)

This can be written as a single line like handleLayoutVisibility(profileViewModel.isLoggedIn()). I think it is cleaner

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, thanks for pointing. 👍

anhanh11001
anhanh11001 previously approved these changes May 12, 2019
Copy link
Member

@nikit19 nikit19 left a comment

Choose a reason for hiding this comment

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

Please make the changes suggested by @anhanh11001 . Rest looks good

@liveHarshit
Copy link
Member Author

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot access settings and other options without authentication

4 participants