display filenames at thumbnails if selected so

This commit is contained in:
tibbi 2017-05-20 22:38:40 +02:00
parent 0a3cf1c32a
commit 7302898826

View file

@ -33,7 +33,7 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList<Medium>,
var itemViews = SparseArray<View>() var itemViews = SparseArray<View>()
val selectedPositions = HashSet<Int>() val selectedPositions = HashSet<Int>()
var foregroundColor = 0 var foregroundColor = 0
var displayFilenames = false var displayFilenames = config.displayFileNames
fun toggleItemSelection(select: Boolean, pos: Int) { fun toggleItemSelection(select: Boolean, pos: Int) {
if (itemViews[pos] != null) if (itemViews[pos] != null)