-
-
Save pavan5208/dfde3570d3cffa27ab0b683bd25a7cb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override fun onStart() { | |
super.onStart() | |
// Check if user is signed in (non-null) and update UI accordingly. | |
val currentUser = auth.currentUser | |
if (currentUser != null) { | |
Toast.makeText( | |
baseContext, "Already Logged In.", | |
Toast.LENGTH_SHORT | |
).show() | |
startHomeActivity() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment