aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-03-01 01:25:06 -0800
committerAllan Wang <me@allanwang.ca>2020-03-01 01:25:06 -0800
commitc1591dffa764eb16e1f825fceab0c04ac4456af4 (patch)
treefdc55a1ef36347a62138d2952d435a38affc8435 /app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt
parent118635f6630487e93a519e9a63151d95b31ee8b1 (diff)
downloadfrost-c1591dffa764eb16e1f825fceab0c04ac4456af4.tar.gz
frost-c1591dffa764eb16e1f825fceab0c04ac4456af4.tar.bz2
frost-c1591dffa764eb16e1f825fceab0c04ac4456af4.zip
Rearrange image activity to use download manager
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt
index 9ca622a3..b04b8855 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostWebView.kt
@@ -98,7 +98,7 @@ class FrostWebView @JvmOverloads constructor(
context.ctxCoroutine.launchMain {
val cookie = cookieDao.currentCookie(prefs) ?: return@launchMain
context.frostDownload(
- cookie,
+ cookie.cookie,
url,
userAgent,
contentDisposition,