From 4ebe5f2dea5cef9cbfedc0b3aa6057ff64c2d37a Mon Sep 17 00:00:00 2001 From: Jason Yao Date: Wed, 9 Sep 2020 23:38:44 -0400 Subject: [PATCH] Update FileUtils.kt --- app/src/main/java/io/legado/app/utils/FileUtils.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/utils/FileUtils.kt b/app/src/main/java/io/legado/app/utils/FileUtils.kt index 19c03ae01..ef67fab8b 100644 --- a/app/src/main/java/io/legado/app/utils/FileUtils.kt +++ b/app/src/main/java/io/legado/app/utils/FileUtils.kt @@ -1,7 +1,6 @@ package io.legado.app.utils import android.os.Environment -import android.util.Log import android.webkit.MimeTypeMap import androidx.annotation.IntDef import io.legado.app.App @@ -67,8 +66,7 @@ object FileUtils { file.createNewFile() } else{ - val result = file.delete() - Log.d("Jason", result.toString()) + file.delete() file.createNewFile() } return file