fixed fanfou login

This commit is contained in:
Mariotaku Lee 2017-05-13 18:59:13 +08:00
parent 3ab6fcbeea
commit 886651f3cb
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 1 additions and 1 deletions

View File

@ -504,9 +504,9 @@ class SignInActivity : BaseActivity(), OnClickListener, TextWatcher,
private fun handleBrowserLoginResult(intent: Intent?) {
if (intent == null) return
val extras = intent.getBundleExtra(EXTRA_EXTRAS) ?: return
val verifier = intent.getStringExtra(EXTRA_OAUTH_VERIFIER) ?: return
val requestToken = OAuthToken(extras.getString(EXTRA_REQUEST_TOKEN),
extras.getString(EXTRA_REQUEST_TOKEN_SECRET))
val verifier = intent.getStringExtra(EXTRA_OAUTH_VERIFIER)
signInTask = BrowserSignInTask(this, apiConfig, requestToken, verifier)
AsyncTaskUtils.executeTask(signInTask)
}