From 3c878c3148a702083d613b636e025632721a27fd Mon Sep 17 00:00:00 2001 From: shantanu1k Date: Mon, 24 Oct 2022 10:59:56 +0530 Subject: [PATCH] minor fix --- .../java/com/github/libretube/services/DownloadService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/github/libretube/services/DownloadService.kt b/app/src/main/java/com/github/libretube/services/DownloadService.kt index a9658d393..e135cd32e 100644 --- a/app/src/main/java/com/github/libretube/services/DownloadService.kt +++ b/app/src/main/java/com/github/libretube/services/DownloadService.kt @@ -48,7 +48,7 @@ class DownloadService : Service() { } if (downloadType != DownloadType.NONE) { - downloadManager(videoName) + downloadManager() } else { onDestroy() } @@ -60,7 +60,7 @@ class DownloadService : Service() { TODO("Not yet implemented") } - private fun downloadManager(videoName: String) { + private fun downloadManager() { // initialize and create the directories to download into val videoDownloadDir = DownloadHelper.getVideoDir(this)