fix copy dialog title

This commit is contained in:
tibbi 2016-11-05 23:29:25 +01:00
parent 2057c14dea
commit ac1991c887

View file

@ -39,7 +39,7 @@ class CopyDialog(val activity: Activity, val files: List<File>, val path: String
}
AlertDialog.Builder(mContext)
.setTitle(mContext.resources.getString(R.string.create_new))
.setTitle(mContext.resources.getString(if (files.size == 1) R.string.copy_item else R.string.copy_items))
.setView(view)
.setPositiveButton(R.string.ok, null)
.setNegativeButton(R.string.cancel, null)