mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	avoid importing actual folders at Import folder
This commit is contained in:
		| @@ -41,6 +41,7 @@ class ImportFolderDialog(val activity: SimpleActivity, val path: String, val cal | ||||
|         folder.listFiles { file -> | ||||
|             val filename = file.path.getFilenameFromPath() | ||||
|             when { | ||||
|                 file.isDirectory -> false | ||||
|                 filename.isImageVideoGif() -> false | ||||
|                 file.length() > 10 * 1000 * 1000 -> false | ||||
|                 activity.dbHelper.doesTitleExist(filename) -> false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user