Skip to content

Commit d395aab

Browse files
committed
do not animate the views at updating the folder children count
1 parent f4388d7 commit d395aab

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/adapters/ItemsAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
723723
val position = getItemKeyPosition(path.hashCode())
724724
val item = listItems.getOrNull(position) ?: return
725725
item.children = count
726-
notifyItemChanged(position)
726+
notifyItemChanged(position, Unit)
727727
}
728728

729729
fun isASectionTitle(position: Int) = listItems.getOrNull(position)?.isSectionTitle ?: false

0 commit comments

Comments
 (0)