aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-04-17 20:06:36 -0700
committerAllan Wang <me@allanwang.ca>2021-04-17 20:06:36 -0700
commit6abaf596e4db5a36057f6a8acf31b72f57a12e18 (patch)
tree1b2d52fe2f6a4d1d73fe23c0061a697c9d664eab /app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
parent795182bab71e70c28e7d07550bca0d2e35b70c60 (diff)
downloadfrost-6abaf596e4db5a36057f6a8acf31b72f57a12e18.tar.gz
frost-6abaf596e4db5a36057f6a8acf31b72f57a12e18.tar.bz2
frost-6abaf596e4db5a36057f6a8acf31b72f57a12e18.zip
Remove koin dependency in production
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.kt3
1 files changed, 2 insertions, 1 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 12e10e10..0d7bbb79 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostJSI.kt
@@ -84,7 +84,8 @@ class FrostJSI(val web: FrostWebView) {
web.post {
context.showWebContextMenu(
WebContext(url.takeIf { it.isIndependent }, text),
- fbCookie
+ fbCookie,
+ prefs
)
}
}