mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-27 19:38:22 +01:00
Minor bugs fixed.
This commit is contained in:
parent
b74fc9354c
commit
b97721a1e7
@ -1834,6 +1834,7 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
|
|||||||
} else if (holder instanceof PostBaseGalleryTypeViewHolder) {
|
} else if (holder instanceof PostBaseGalleryTypeViewHolder) {
|
||||||
((PostBaseGalleryTypeViewHolder) holder).frameLayout.setVisibility(View.GONE);
|
((PostBaseGalleryTypeViewHolder) holder).frameLayout.setVisibility(View.GONE);
|
||||||
((PostBaseGalleryTypeViewHolder) holder).noPreviewImageView.setVisibility(View.GONE);
|
((PostBaseGalleryTypeViewHolder) holder).noPreviewImageView.setVisibility(View.GONE);
|
||||||
|
((PostBaseGalleryTypeViewHolder) holder).adapter.setGalleryImages(null);
|
||||||
} else if (holder instanceof PostTextTypeViewHolder) {
|
} else if (holder instanceof PostTextTypeViewHolder) {
|
||||||
((PostTextTypeViewHolder) holder).contentTextView.setText("");
|
((PostTextTypeViewHolder) holder).contentTextView.setText("");
|
||||||
((PostTextTypeViewHolder) holder).contentTextView.setTextColor(mPostContentColor);
|
((PostTextTypeViewHolder) holder).contentTextView.setTextColor(mPostContentColor);
|
||||||
|
@ -1913,6 +1913,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
|||||||
} else if (holder instanceof PostBaseGalleryTypeViewHolder) {
|
} else if (holder instanceof PostBaseGalleryTypeViewHolder) {
|
||||||
((PostBaseGalleryTypeViewHolder) holder).frameLayout.setVisibility(View.GONE);
|
((PostBaseGalleryTypeViewHolder) holder).frameLayout.setVisibility(View.GONE);
|
||||||
((PostBaseGalleryTypeViewHolder) holder).noPreviewImageView.setVisibility(View.GONE);
|
((PostBaseGalleryTypeViewHolder) holder).noPreviewImageView.setVisibility(View.GONE);
|
||||||
|
((PostBaseGalleryTypeViewHolder) holder).adapter.setGalleryImages(null);
|
||||||
} else if (holder instanceof PostTextTypeViewHolder) {
|
} else if (holder instanceof PostTextTypeViewHolder) {
|
||||||
((PostTextTypeViewHolder) holder).contentTextView.setText("");
|
((PostTextTypeViewHolder) holder).contentTextView.setText("");
|
||||||
((PostTextTypeViewHolder) holder).contentTextView.setTextColor(mPostContentColor);
|
((PostTextTypeViewHolder) holder).contentTextView.setTextColor(mPostContentColor);
|
||||||
|
@ -11,7 +11,6 @@ import org.commonmark.ext.gfm.tables.TableBlock;
|
|||||||
import io.noties.markwon.Markwon;
|
import io.noties.markwon.Markwon;
|
||||||
import io.noties.markwon.MarkwonPlugin;
|
import io.noties.markwon.MarkwonPlugin;
|
||||||
import io.noties.markwon.ext.strikethrough.StrikethroughPlugin;
|
import io.noties.markwon.ext.strikethrough.StrikethroughPlugin;
|
||||||
import io.noties.markwon.inlineparser.AutolinkInlineProcessor;
|
|
||||||
import io.noties.markwon.inlineparser.BangInlineProcessor;
|
import io.noties.markwon.inlineparser.BangInlineProcessor;
|
||||||
import io.noties.markwon.inlineparser.HtmlInlineProcessor;
|
import io.noties.markwon.inlineparser.HtmlInlineProcessor;
|
||||||
import io.noties.markwon.inlineparser.MarkwonInlineParserPlugin;
|
import io.noties.markwon.inlineparser.MarkwonInlineParserPlugin;
|
||||||
|
Loading…
Reference in New Issue
Block a user