aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-12-28 21:41:38 -0500
committerAllan Wang <me@allanwang.ca>2018-12-28 21:41:38 -0500
commit66a6657b81e6274e1eac33c4c7379d3db2c463fb (patch)
tree8e6202efb768d954145038cb8642453c62650c5e /app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
parent5393f171e4b489b90fa93df1b23288178d9daaef (diff)
downloadfrost-66a6657b81e6274e1eac33c4c7379d3db2c463fb.tar.gz
frost-66a6657b81e6274e1eac33c4c7379d3db2c463fb.tar.bz2
frost-66a6657b81e6274e1eac33c4c7379d3db2c463fb.zip
Prevent crash with null frost cookie
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
index 4611d27d..c8b54e7a 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
@@ -102,6 +102,7 @@ class FrostJSI(val web: FrostWebView) {
@JavascriptInterface
fun loadLogin() {
+ L.d { "Sign up button found; load login" }
FbCookie.logout(context)
}