mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
minor fix
This commit is contained in:
parent
d1ae2e5096
commit
3c878c3148
@ -48,7 +48,7 @@ class DownloadService : Service() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (downloadType != DownloadType.NONE) {
|
if (downloadType != DownloadType.NONE) {
|
||||||
downloadManager(videoName)
|
downloadManager()
|
||||||
} else {
|
} else {
|
||||||
onDestroy()
|
onDestroy()
|
||||||
}
|
}
|
||||||
@ -60,7 +60,7 @@ class DownloadService : Service() {
|
|||||||
TODO("Not yet implemented")
|
TODO("Not yet implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun downloadManager(videoName: String) {
|
private fun downloadManager() {
|
||||||
// initialize and create the directories to download into
|
// initialize and create the directories to download into
|
||||||
|
|
||||||
val videoDownloadDir = DownloadHelper.getVideoDir(this)
|
val videoDownloadDir = DownloadHelper.getVideoDir(this)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user