diff options
author | Allan Wang <me@allanwang.ca> | 2020-03-01 01:25:06 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-03-01 01:25:06 -0800 |
commit | c1591dffa764eb16e1f825fceab0c04ac4456af4 (patch) | |
tree | fdc55a1ef36347a62138d2952d435a38affc8435 /app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt | |
parent | 118635f6630487e93a519e9a63151d95b31ee8b1 (diff) | |
download | frost-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/FrostVideoViewer.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt index ec822bfa..20480d10 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt @@ -118,7 +118,7 @@ class FrostVideoViewer @JvmOverloads constructor( R.id.action_pip -> video.isExpanded = false R.id.action_download -> context.ctxCoroutine.launchMain { val cookie = cookieDao.currentCookie(prefs) ?: return@launchMain - context.frostDownload(cookie, video.videoUri) + context.frostDownload(cookie.cookie, video.videoUri) } } true |