From 2cf031a8f7a7bf5f897b98159615802dbb8e45d5 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Thu, 22 Jul 2021 14:52:37 -0400 Subject: [PATCH] close #1692 --- .../adapters/viewholder/feed/FeedItemViewHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/adapters/viewholder/feed/FeedItemViewHolder.java b/app/src/main/java/awais/instagrabber/adapters/viewholder/feed/FeedItemViewHolder.java index 46320eb4..d9542f81 100644 --- a/app/src/main/java/awais/instagrabber/adapters/viewholder/feed/FeedItemViewHolder.java +++ b/app/src/main/java/awais/instagrabber/adapters/viewholder/feed/FeedItemViewHolder.java @@ -54,7 +54,7 @@ public abstract class FeedItemViewHolder extends RecyclerView.ViewHolder { setupActions(media); if (media.getType() != MediaItemType.MEDIA_TYPE_SLIDER) { bottomBinding.download.setOnClickListener(v -> - feedItemCallback.onDownloadClick(media, -1, null) + feedItemCallback.onDownloadClick(media, -1, bottomBinding.download) ); } bindItem(media);