rename directory_item to directory_item_grid

This commit is contained in:
tibbi 2017-09-28 21:28:42 +02:00
parent fc3565129d
commit 9c5c359e4d
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ import com.simplemobiletools.gallery.dialogs.PickMediumDialog
import com.simplemobiletools.gallery.extensions.*
import com.simplemobiletools.gallery.models.AlbumCover
import com.simplemobiletools.gallery.models.Directory
import kotlinx.android.synthetic.main.directory_item.view.*
import kotlinx.android.synthetic.main.directory_item_grid.view.*
import java.io.File
import java.util.*
@ -330,7 +330,7 @@ class DirectoryAdapter(val activity: SimpleActivity, var dirs: MutableList<Direc
}
override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder {
val view = LayoutInflater.from(parent?.context).inflate(R.layout.directory_item, parent, false)
val view = LayoutInflater.from(parent?.context).inflate(R.layout.directory_item_grid, parent, false)
return ViewHolder(view, adapterListener, activity, multiSelectorMode, multiSelector, listener, isPickIntent, itemClick)
}