Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isSupported){
- let userHasConditions = (account?.healthConditions.count ?? 0) > 0
- if !userHasConditions{
- cleanUserContext()
- displayUserHasNoConditionsMessage()
- return
- }
- didAuthenticate()
- return
- }
- cleanUserContext()
- displayUnsupportedUserTypeMessage()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement