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

feat: Update settings and profile fragment for non authenticated users #1754

Merged
merged 1 commit into from
May 13, 2019

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