aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-01-04 02:33:15 -0500
committerAllan Wang <me@allanwang.ca>2019-01-04 02:33:15 -0500
commit9bd77fa983dda0054a1795b2c91f261a491a53c5 (patch)
tree0b67c79ef194be81fb29bedb89a1092a461dfcf7
parent702503db4ef28caefefbaabc27ccf161f1c54ed2 (diff)
downloadfrost-9bd77fa983dda0054a1795b2c91f261a491a53c5.tar.gz
frost-9bd77fa983dda0054a1795b2c91f261a491a53c5.tar.bz2
frost-9bd77fa983dda0054a1795b2c91f261a491a53c5.zip
Fix compilation error
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/LoginActivity.kt2
1 files changed, 1 insertions, 1 deletions
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()