mirror of
				https://github.com/SimpleMobileTools/Simple-File-Manager.git
				synced 2025-06-05 22:09:15 +02:00 
			
		
		
		
	fix #195, show the amount of items being deleted at the confirmation dialog
This commit is contained in:
		| @@ -423,7 +423,9 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList<FileD | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     private fun askConfirmDelete() { |     private fun askConfirmDelete() { | ||||||
|         ConfirmationDialog(activity) { |         val items = resources.getQuantityString(R.plurals.delete_items, selectedPositions.size, selectedPositions.size) | ||||||
|  |         val question = String.format(resources.getString(R.string.deletion_confirmation), items) | ||||||
|  |         ConfirmationDialog(activity, question) { | ||||||
|             deleteFiles() |             deleteFiles() | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user