From 95b7dbfba30aae75d884e3f5001d3d9ed2262237 Mon Sep 17 00:00:00 2001 From: sk Date: Thu, 17 Nov 2022 01:04:51 +0100 Subject: [PATCH] remove unused variable --- .../android/ui/displayitems/TextStatusDisplayItem.java | 3 +-- mastodon/src/main/res/layout/display_item_text.xml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/TextStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/TextStatusDisplayItem.java index 28b8fe52c..939383003 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/TextStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/TextStatusDisplayItem.java @@ -62,14 +62,13 @@ public class TextStatusDisplayItem extends StatusDisplayItem{ public static class Holder extends StatusDisplayItem.Holder implements ImageLoaderViewHolder{ private final LinkedTextView text; private final TextView spoilerTitle, spoilerTitleInline; - private final View spoilerOverlay, content, spoilerHeader; + private final View spoilerOverlay, spoilerHeader; public Holder(Activity activity, ViewGroup parent){ super(activity, R.layout.display_item_text, parent); text=findViewById(R.id.text); spoilerTitle=findViewById(R.id.spoiler_title); spoilerTitleInline=findViewById(R.id.spoiler_title_inline); - content=findViewById(R.id.content); spoilerHeader=findViewById(R.id.spoiler_header); spoilerOverlay=findViewById(R.id.spoiler_overlay); itemView.setOnClickListener(v->item.parentFragment.onRevealSpoilerClick(this)); diff --git a/mastodon/src/main/res/layout/display_item_text.xml b/mastodon/src/main/res/layout/display_item_text.xml index a5f5d1698..8cdcc8072 100644 --- a/mastodon/src/main/res/layout/display_item_text.xml +++ b/mastodon/src/main/res/layout/display_item_text.xml @@ -7,7 +7,6 @@ android:paddingBottom="12dp">