mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 14:24:05 +01:00
use class variable fileIcon instead binding.fileIcon
this shouldn't make a difference. class variable was unused before.. Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
5d83ff8c98
commit
29a9b0e381
@ -96,13 +96,13 @@ class RemoteFileBrowserItemsListViewHolder(
|
||||
val path = ApiUtils.getUrlForFilePreviewWithRemotePath(
|
||||
currentUser.baseUrl,
|
||||
item.path,
|
||||
binding.fileIcon.context.resources.getDimensionPixelSize(R.dimen.small_item_height)
|
||||
fileIcon.context.resources.getDimensionPixelSize(R.dimen.small_item_height)
|
||||
)
|
||||
if (path.isNotEmpty()) {
|
||||
binding.fileIcon.loadImage(path, currentUser, placeholder)
|
||||
fileIcon.loadImage(path, currentUser, placeholder)
|
||||
}
|
||||
} else {
|
||||
binding.fileIcon.setImageDrawable(placeholder)
|
||||
fileIcon.setImageDrawable(placeholder)
|
||||
}
|
||||
|
||||
binding.filenameTextView.text = item.displayName
|
||||
|
Loading…
Reference in New Issue
Block a user