adding some brackets

This commit is contained in:
tibbi 2017-11-30 16:57:51 +01:00
parent 555dc21a35
commit 04b219b308

View file

@ -343,8 +343,9 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList<FileD
}
private fun deleteFiles() {
if (selectedPositions.isEmpty())
if (selectedPositions.isEmpty()) {
return
}
val files = ArrayList<File>(selectedPositions.size)
val removeFiles = ArrayList<FileDirItem>(selectedPositions.size)