Skip to content

Commit

Permalink
Fix KtLint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JuancaG05 committed Jul 21, 2022
1 parent d9d073b commit e6942c7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ class TransfersAdapter(
thumbnail
)
val parentActivity = holder.itemView.context as FileActivity
if (fakeFileToCheatThumbnailsCacheManagerInterface.isImage
&& fakeFileToCheatThumbnailsCacheManagerInterface.remoteId != null
&& transfer.status == TransferStatus.TRANSFER_SUCCEEDED
if (fakeFileToCheatThumbnailsCacheManagerInterface.isImage &&
fakeFileToCheatThumbnailsCacheManagerInterface.remoteId != null &&
transfer.status == TransferStatus.TRANSFER_SUCCEEDED
) {
// Thumbnail in cache?
var thumbnailImage = ThumbnailsCacheManager
Expand Down Expand Up @@ -182,7 +182,7 @@ class TransfersAdapter(
} else if (transfer.status == TransferStatus.TRANSFER_FAILED) {
uploadRightButton.apply {
setImageResource(R.drawable.ic_action_delete_grey)
setOnClickListener{
setOnClickListener {
delete(transfer.id!!)
}
}
Expand Down

0 comments on commit e6942c7

Please sign in to comment.