From b96717750bf39b6a1e054195cf45ab740611f84e Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 26 Oct 2018 10:39:21 +0200 Subject: [PATCH] update commons to 5.2.10 --- app/build.gradle | 2 +- .../com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt | 2 +- .../filemanager/adapters/ManageFavoritesAdapter.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c2ffba59..40a431b1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -42,7 +42,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.2.1' + implementation 'com.simplemobiletools:commons:5.2.10' implementation files('../libs/RootTools.jar') } diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt index 14bbdc50..6c09fe34 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/adapters/ItemsAdapter.kt @@ -550,7 +550,7 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList - setupView(itemView, favorite, isKeySelected(favorite.hashCode())) + setupView(itemView, favorite, selectedKeys.contains(favorite.hashCode())) } bindViewHolder(holder) }