aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-03-01 22:54:38 -0800
committerGitHub <noreply@github.com>2020-03-01 22:54:38 -0800
commit6d29dcd17be1d5d2ddb99bf3befea125ca955420 (patch)
tree5a2a0669effbd22e0bdd7062193da42afdb6be7e /app/src/main/kotlin/com/pitchedapps/frost/views/FrostVideoViewer.kt
parente732e30d97babca49ba5f7d97aea1620ba14024b (diff)
parent23acc1b70887dc7b1a9600a8cdef1e2c9676665d (diff)
downloadfrost-6d29dcd17be1d5d2ddb99bf3befea125ca955420.tar.gz
frost-6d29dcd17be1d5d2ddb99bf3befea125ca955420.tar.bz2
frost-6d29dcd17be1d5d2ddb99bf3befea125ca955420.zip
Merge pull request #1658 from AllanWang/save-image
Save image
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.kt2
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