mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-17 04:00:58 -04:00
rename
This commit is contained in:
@@ -72,7 +72,7 @@ open class AuthWorker @AssistedInject constructor(
|
||||
|
||||
AuthHelper.Token.AUTH -> {
|
||||
Log.i(TAG, "Refreshing AuthData for personal account using AccountManager")
|
||||
val newToken = fetchAuthTokenSuspend(email, tokenPair.first)
|
||||
val newToken = fetchAuthToken(email, tokenPair.first)
|
||||
authProvider.buildGoogleAuthData(email, newToken, AuthHelper.Token.AAS).getOrThrow()
|
||||
}
|
||||
}
|
||||
@@ -93,7 +93,7 @@ open class AuthWorker @AssistedInject constructor(
|
||||
}
|
||||
}
|
||||
|
||||
private suspend fun fetchAuthTokenSuspend(email: String, oldToken: String? = null): String {
|
||||
private suspend fun fetchAuthToken(email: String, oldToken: String? = null): String {
|
||||
return suspendCoroutine { continuation ->
|
||||
fetchAuthToken(email, oldToken) { future ->
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user