From e954a6cb62e006e90be429a13f436337e81f3071 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Wed, 16 Jan 2019 14:19:33 -0800 Subject: [PATCH] typo. fixes #1100 --- .../app/src/main/java/org/mozilla/sendandroid/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt b/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt index 2d953c00..096da054 100644 --- a/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt +++ b/android/app/src/main/java/org/mozilla/sendandroid/MainActivity.kt @@ -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.