Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.29 KB | None | 0 0
  1. guard isSupported else {
  2.     cleanUserContext()
  3.     displayUnsupportedUserTypeMessage()
  4.     return
  5. }
  6.  
  7. let userHasConditions = (account?.healthConditions.count ?? 0) > 0
  8. guard userHasConditions else {
  9.     cleanUserContext()
  10.     displayUserHasNoConditionsMessage()
  11.     return
  12. }
  13.  
  14. didAuthenticate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement