do not animate the views at updating the folder children count

This commit is contained in:
tibbi 2021-04-19 19:21:34 +02:00
parent f4388d7d8b
commit d395aab484
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
val position = getItemKeyPosition(path.hashCode())
val item = listItems.getOrNull(position) ?: return
item.children = count
notifyItemChanged(position)
notifyItemChanged(position, Unit)
}
fun isASectionTitle(position: Int) = listItems.getOrNull(position)?.isSectionTitle ?: false