mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-04-03 05:01:43 +02:00
removing a redundant variable
This commit is contained in:
parent
d2b8380ed2
commit
05c25f56de
@ -44,7 +44,6 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList<FileD
|
||||
private lateinit var folderDrawable: Drawable
|
||||
private lateinit var fileDrawable: Drawable
|
||||
private var currentItemsHash = fileDirItems.hashCode()
|
||||
private val hasOTGConnected = activity.hasOTGConnected()
|
||||
private var textToHighlight = ""
|
||||
var adjustedPrimaryColor = activity.getAdjustedPrimaryColor()
|
||||
|
||||
@ -573,7 +572,7 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList<FileD
|
||||
.error(fileDrawable)
|
||||
.centerCrop()
|
||||
|
||||
var itemToLoad = if (fileDirItem.name.endsWith(".apk", true)) {
|
||||
val itemToLoad = if (fileDirItem.name.endsWith(".apk", true)) {
|
||||
val packageInfo = context.packageManager.getPackageArchiveInfo(path, PackageManager.GET_ACTIVITIES)
|
||||
if (packageInfo != null) {
|
||||
val appInfo = packageInfo.applicationInfo
|
||||
|
Loading…
x
Reference in New Issue
Block a user