From 9bd77fa983dda0054a1795b2c91f261a491a53c5 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Fri, 4 Jan 2019 02:33:15 -0500 Subject: Fix compilation error --- app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/kotlin') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt index 150d29f4..27a488e3 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt @@ -88,7 +88,7 @@ class LoginActivity : BaseActivity() { } } launch { - val cookie = web.loadLogin { refresh(it != 100) } + val cookie = web.loadLogin { refresh(it != 100) }.await() L.d { "Login found" } FbCookie.save(cookie.id) webFadeOut() -- cgit v1.2.3