Change transition betweens screen. skip login is unneeded.
This commit is contained in:
parent
4ede938017
commit
e9cb8cd0ac
7 changed files with 72 additions and 35 deletions
|
|
@ -18,4 +18,8 @@ class GoogleSingInRepository(application: Application) : IGoogleSingInRepository
|
|||
override val client: GoogleSignInClient by lazy {
|
||||
GoogleSignIn.getClient(application, option)
|
||||
}
|
||||
|
||||
override val lastGoogleToken: String? by lazy {
|
||||
GoogleSignIn.getLastSignedInAccount(application)?.idToken
|
||||
}
|
||||
}
|
||||
|
|
@ -6,4 +6,5 @@ import com.google.android.gms.auth.api.signin.GoogleSignInOptions
|
|||
interface IGoogleSingInRepository {
|
||||
val option: GoogleSignInOptions
|
||||
val client: GoogleSignInClient
|
||||
val lastGoogleToken: String?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue