Skip to content
This repository has been archived by the owner on Oct 25, 2020. It is now read-only.

Bug back press to close #38

Merged
merged 6 commits into from
Aug 9, 2018
Merged

Bug back press to close #38

merged 6 commits into from
Aug 9, 2018

Conversation

DJTai
Copy link
Owner

@DJTai DJTai commented Aug 9, 2018

Fixes issue #30

This is achieved by calling the AuthenticationManager, getting the list of users, and checking the size. If the size is 0 then the user is signed out - if the size is 1 then the user is signed in.

It's all in a try-catch block because authenticationManager.getPublicClient().getUsers(); could result in null.

@DJTai DJTai requested a review from patrickly August 9, 2018 06:38
@patrickly patrickly merged commit ed11f34 into master Aug 9, 2018
@DJTai DJTai deleted the bug_BackPressToClose branch August 9, 2018 21:18
@DJTai DJTai mentioned this pull request Aug 9, 2018
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants