Skip to content

Instantly share code, notes, and snippets.

@evenidontknow
Created October 28, 2020 20:35
Show Gist options
  • Save evenidontknow/e808381c715fc43bfeef9f2c92431e81 to your computer and use it in GitHub Desktop.
Save evenidontknow/e808381c715fc43bfeef9f2c92431e81 to your computer and use it in GitHub Desktop.
override fun onStart() {
super.onStart()
val currentUser = mAuth!!.currentUser
if (currentUser != null){
val dashboardIntent = Intent(this, DashboardActivity::class.java)
startActivity(dashboardIntent)
finish()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment