From 6cbdbb5be34d550d0bf04ef61081259da6de9800 Mon Sep 17 00:00:00 2001 From: len Date: Tue, 12 Apr 2016 22:41:45 +0200 Subject: [PATCH] Fix #248 --- .../eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt index ea421c3eb..abf7b963e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt @@ -24,11 +24,6 @@ class PreferencesHelper(private val context: Context) { defaultDownloadsDir = File(Environment.getExternalStorageDirectory().absolutePath + File.separator + context.getString(R.string.app_name), "downloads") - // Create default directory - if (downloadsDirectory == defaultDownloadsDir.absolutePath && !defaultDownloadsDir.exists()) { - defaultDownloadsDir.mkdirs() - } - // Don't display downloaded chapters in gallery apps creating a ".nomedia" file try { File(downloadsDirectory, ".nomedia").createNewFile()