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

Add initialized property to detect when auth library has initialized #153

Merged
merged 1 commit into from
Jan 24, 2017

Conversation

solidsystem
Copy link
Contributor

To be able to easily display something like a dialog when user is not signed in, we need to know when the signedIn property is set based on first reponse from auth library rather than the default false value.

Adding a property such as this change does makes this possible.

I believe this solves issue #137 and #121 as well as my own need for such a feature.

…signedIn property.

This is to be able to avoid flickering gui until signedIn property has a correct value.
@Zoramite
Copy link
Contributor

This looks good to me.

@Zoramite
Copy link
Contributor

@ebidel This change looks good to me for allowing the user to know if the library has initialized before reading the logged in status without backwards incompatibility. I don't have write access to the repo anymore so if you can check this out it would be good.

@atotic atotic merged commit 477b249 into GoogleWebComponents:master Jan 24, 2017
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.

3 participants