Skip to content

Instantly share code, notes, and snippets.

@gayapedro
Created July 11, 2017 12:39
Show Gist options
  • Select an option

  • Save gayapedro/6f314593e664a107f0e6c25f2d150230 to your computer and use it in GitHub Desktop.

Select an option

Save gayapedro/6f314593e664a107f0e6c25f2d150230 to your computer and use it in GitHub Desktop.
autenticacao.addStateDidChangeListener { (autenticacao, user) in
if let usuarioLogado = user {
if self.tipoString != "farmacia" {
self.performSegue(withIdentifier: "mapaSegueLogin", sender: nil)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment