minor fix

This commit is contained in:
shantanu1k 2022-10-24 10:59:56 +05:30
parent d1ae2e5096
commit 3c878c3148

View File

@ -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)