Minor cleanup

This commit is contained in:
Jobobby04
2022-10-18 17:52:47 -04:00
parent 49d5d797b3
commit 82793b7a41
4 changed files with 9 additions and 6 deletions
@@ -166,7 +166,7 @@ class BrowserActionActivity : AppCompatActivity() {
// Rob demo credentials
.url("https://speech-to-text-demo.ng.bluemix.net/api/v1/credentials")
.build(),
).await().parseAs<JsonObject>()["token"]!!.jsonPrimitive.content
).await().parseAs<JsonObject>()["token"]!!.jsonPrimitive.content,
)
} catch (e: Exception) {
xLogE("Failed to get credentials", e)
@@ -269,7 +269,6 @@ class BrowserActionActivity : AppCompatActivity() {
} catch (e: Exception) {
captchaSolveFail()
}
}
} else {
binding.webview.postDelayed(