This commit is contained in:
Danny Coates 2019-01-16 14:19:33 -08:00
parent a6a8fa6528
commit e954a6cb62
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -161,7 +161,7 @@ class MainActivity : AppCompatActivity(), AdvancedWebView.Listener {
val displayName = profile.displayName
val email = profile.email
val uid = profile.uid
val toPass = "{\"accessToken\": \"${accessToken}}\", \"keys\": '${keys}', \"avatar\": \"${avatar}\", \"displayName\": \"${displayName}\", \"email\": \"${email}\", \"uid\": \"${uid}\"}"
val toPass = "{\"accessToken\": \"${accessToken}\", \"keys\": '${keys}', \"avatar\": \"${avatar}\", \"displayName\": \"${displayName}\", \"email\": \"${email}\", \"uid\": \"${uid}\"}"
mToCall = "finishLogin(${toPass})"
this@MainActivity.runOnUiThread({
// But then we also reload this here because we need to make sure onPageFinished runs after mToCall has been set.