updating commons to 5.28.3

This commit is contained in:
tibbi 2020-05-16 23:14:11 +02:00
parent bf3624aa88
commit 20c3cc617d
2 changed files with 28 additions and 28 deletions

View File

@ -58,7 +58,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.26.24'
implementation 'com.simplemobiletools:commons:5.28.3'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -290,7 +290,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
drawable.findDrawableByLayerId(R.id.shortcut_folder_background).applyColorFilter(0)
drawable.setDrawableByLayerId(R.id.shortcut_folder_image, bitmap)
} catch (e: Exception) {
val fileIcon = activity.resources.getDrawable(R.drawable.ic_file_vector)
val fileIcon = activity.resources.getDrawable(R.drawable.ic_file_generic)
drawable.setDrawableByLayerId(R.id.shortcut_folder_image, fileIcon)
}