mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Fix #248
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user