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